• Keine Ergebnisse gefunden

Games with perfect information

N/A
N/A
Protected

Academic year: 2021

Aktie "Games with perfect information"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Games with perfect information

Exercise sheet 3 TU Braunschweig

Sebastian Muskalla Summer term 2018

Out: April 18 Due: April 25

Submit your solutions on Wednesday, April 25, during the lecture.

Please submit in groups of three persons.

Exercise 1: 2 × 2 tic tac toe

Consider a 2 × 2-variant of tic tac toe, i.e. tic tac toe played on a 2 × 2 matrix. We assume that # starts. The player that is first able to put 2 of her marks into one row, column or diagonal wins, and the game then stops.

Formalize this game as a reachability game, draw the game arena as a graph, and solve it explic- itly using the attractor algorithm.

Exercise 2: Determinacy of games of finite length

Let G = ( G, win ) be a game such that each maximal play of G has finite length. Prove that G is determined, i.e. every position is winning for exactly one of the players, V = W

#

∪⋅ W □ .

Hint: Construct a reachability game whose set of positions is Plays

G

.

Exercise 3: Attractors have attractive algorithmics

a) Prove that if Attr

i

( B ) = Attr

i+1

( B ) , then we have Attr

i

( B ) = Attr

( B ) .

Conclude that if the set of positions V is finite, we have Attr

(B) = Attr

∣V∣

(B).

b) Let G = ( V, E ) be a finite game arena, and let BV be a set. We consider the reachability game on G with respect to B.

Write down pseudo-code for an algorithm that computes the winning region W

#

of the ex-

istential player, and at the same time computes uniform positional winning strategies s

#

, s

for both players.

(2)

Exercise 4: Graphs with infinite out-degree

In the section on reachability games, we made the assumption that the out-degree of the game arena is finite. In this exercise, we want to understand this restriction.

Let N

+

= {1, 2, 3, . . . } denote the positive natural numbers. We consider the infinite graph G = (V, R) given by

V = {start, goal} ∪⋅ ⋃

i∈N+

Path

i

, where for each i ∈ N

+

, we have Path

i

= {p

i1

, p

i2

, . . . , p

ii

} ,

R = ⋃

i∈N+

{(start, p

i1

)} ∪⋅ ⋃

i∈N+

{(p

ii

, goal)} ∪⋅ ⋃

i∈N+ i−1

j=1

{(p

ij

, p

ij+1

)} .

We want to consider a reachability game on G with respect to the winning set { goal } , i.e. # needs to reach the position goal, □ wants to prevent this.

a) Draw a schematic representation of the graph G, e.g. involving the vertices { start, goal } and the positions in Path

i

for i ⩽ 4.

b) Assume that all positions are owned by the existential player. For each position xV, give the minimal i

x

∈ N such that x ∈ Attr

i#x

({ goal }) , respectively i

x

= ∞ if no such i

x

exists.

Present a winning strategy for the reachability game from the position start.

c) Assume that all positions are owned by the universal player. For each position xV, give the minimal i

x

such that x ∈ Attr

i#x

({goal}), respectively i

x

= ∞ if no such i

x

exists.

Which player wins the reachability game from start?

Referenzen

ÄHNLICHE DOKUMENTE

a) Present an algorithm that, given a weak parity game on a finite, deadlock-free game arena, computes the winning regions of both players. Briefly argue that your algorithm

Submit your solutions on Wednesday, June 13, at the beginning of the lecture.. Please submit in groups of

Note: One can show that if a Muller game is union-closed, and x ∈ V is winning for some player , then has a positional winning strategy from x.. Exercise 2: Gale-Stewart games as

Show how to construct a counter machine of dimension d ⩾ 2 with two control states q 0 , q f such that there is a transition sequence from (q 0 , n, m,.. Explain

The positional determinacy of parity games, a deep result from game theory, states that exactly one of the players can enforce that she wins the game, and in fact do so in a

Usually, it is not feasible to construct the complete game tree, so the utility of some states must be determined by an evaluation function. Games of chance can be handled by

• Chess: On average 35 possible actions from every position, 100 possible moves 35 100 ≈ 10 150 nodes in the search tree (with “only” 10 40 legal chess positions)3. • Go:

(a) Make precise and prove the statement that Büchi/coBüchi-games are special cases of parity games. (b) Give an algorithm which computes the winning regions of both players in