Exam 2 games Flashcards

1
Q

Draw game tree for the game of nim

Rules: Players remove on turn 1, 2, or 3 matches.
The player who takes the last

Players remove on turn 1, 2, or 3 matches.

A

See image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In the game of Nim What initial move should player choose to win

Rules: Players remove on turn 1, 2, or 3 matches.
The player who takes the last

A

If player 1 plays move 1
then regardless of what
player 2 plays, player 1
always has a winning reply.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In a zero-sum game both players try to optimize (maximize) their result. If Player 2 maximizes its score, it minimizes the score of Player 1.

Search can thus proceed by propagating?

A
  • maximum score of all moves if it is player 1 to move
  • minimum score of all moves it it is player 2 to move
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name the search principle

that proceed by propagating
- maximum score of all moves if it is player 1 to move
- minimum score of all moves if it is player 2 to move

A

Minimax principle (Neumann)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is alpha-beta-search

A
  • an efficient variant of minimax
  • computs exactly the same result as minimax
  • without visiting every node in the tree
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How fast is alpha-beta-search in comparison with Minimax?

A

With a good move ordering, it can search twice as deep as minimax in the sam amount of time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Chess
- Average number of possible moves for each player in a position is 30
- The average length of a (human) chess game is about 40 moves for each player (80 half-moves or „plies“)

What is the nmber of possible move in a chess game (also referred to as Shannon Number)?

A
30^(2x40) = 10^120
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What conclusions can we draw from Shannons Number

A
  • chess connot be solved in practice
  • a chess program must approximate perfect play
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Match each game with the size of a game tree

  1. Nim-5
  2. Checkers
  3. Chess
  4. Go

a. 10^5 nodes
b. 10^360 nodes
c. 10^123 nodes
d. 10^31 nodes

A

1a
2d
3c
3b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Shannon Type-A and Type-B search also called?

A

Brute Force and Selective Search

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does Selective Search do?

A

prunes uninterestiong lines (as humans do)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What kind of search does the drawing refer to?

A

alpha-bea - seach all variations to a certain depth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What kind of search does the drawing refer to?

A

Selective Search

  • limit the breadth of the search tree
  • only search the n most promising moves
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Selective Search

What kind of function decides which moves are most promising?

A

a heuristic function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does an evaluation function or stativ valuator do

A

it evaluate the “goodness” of a game position

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Explain what a Heuristic Evaluation Function does

A

produce an estimate of the expected utility of the game from a given position