• Non ci sono risultati.

Perfect vs imperfect information Exploiting the referee’s answers The game of Kriegspiel The search algorithm

N/A
N/A
Protected

Academic year: 2021

Condividi "Perfect vs imperfect information Exploiting the referee’s answers The game of Kriegspiel The search algorithm"

Copied!
108
0
0

Testo completo

(1)

Searching over Metapositions in Kriegspiel

Andrea Bolognesi and Paolo Ciancarini

{abologne,cianca}@cs.unibo.it

Dipartimento di Scienze dell’Informazione University of Bologna - Italy

(2)

Index

Perfect vs imperfect information Exploiting the referee’s answers The game of Kriegspiel The search algorithm

Research Highlights Searching through metapositions Example of Kriegspiel game The evaluation function

Example of position The rook ending (

 

) Using metapositions The queen ending (

 

) Metapositions The ending with two Bishops Cardinality of pseudomoves The pawn ending (

 

)

The game tree Conclusion

(3)

Perfect vs imperfect information

Games of perfect information:

the current state of the game is fully accessible to each player;

the uncertainty is all about future moves;

Chess, Checkers.

Games of imperfect information:

players have partial knowledge about the current state of the game;

a player may not know what any other player has done up to that moment;

Poker, Kriegspiel.

(4)

The game of Kriegspiel

I II

R

   

   

  

   

  

   

   

        

   

   

   

   

   

    

        

   

    

   

    

   

    

   

Kriegspiel is a game for two players, but it needs a referee;

Neither player knows any position of his/her opponent’s pieces,

he/she tries to guess his/her opponent’s state of play by choosing moves to which the referee can reply by

being silent (S);

saying “illegal” (I) ;

(5)

Research Highlights

• M. Leoncini and R. Magari. Manuale di Scacchi Eterodossi.

Tipografia Senese, Siena,1980.

• J. Boyce. A Kriegspiel Endgame. In D. Klarner editor, The

Mathematical Gardener, pages 28-36. Prindle, Weber & Smith, 1981.

• T. Ferguson. Mate with Bishop and Knight in Kriegspiel.

Theoretical Computer Science, 96:389-403, 1992.

• T. Ferguson. Mate with two Bishops in Kriegspiel. Technical report, UCLA, 1995.

• P. Ciancarini, F. Dalla Libera and F. Maran. Decision Making under Uncertainty: A Rational Approach to Kriegspiel. In J. van den Herik and J. Uiterwijk editors, Advances in Computer Chess 8, 1997.

• M. Sakuta and H. Iida. Solving Kriegspiel-like Problems: Exploiting

(6)

Example of Kriegspiel game

The following animation shows an example of Kriegspiel game played by Paolo Ciancarini agains Krieg on ICC in April 2003.

Click here to skip the animation.

(7)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# "$# "$# "$#

6

% % % %

5

% % % %

4

% % % %

3

% % % %

2

 &

 &

 &

 &

1

'( )  *,+ -



a b c d e f g h

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

% % % %

3

% % % %

2

 &

 &

 &

 &

1

'( )  *,+ -



8

     !

7

"$# "$# "$# "$#

6

% % % %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(8)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# "$# "$# "$#

6

% % % %

5

% % % %

4

% %

 % %

3

% % % %

2

 &

 & &

 &

1

'( )  *,+ -



a b c d e f g h

1.e4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

% %

 % %

3

% % % %

2

 &

 & &

 &

1

'( )  *,+ -



8

     !

7

"$# "$# "$# "$#

6

% % % %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(9)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# "$# %$# "$#

6

% %$# % %

5

% % % %

4

% %

 % %

3

% % % %

2

 &

 & &

 &

1

'( )  *,+ -



a b c d e f g h

1. ..e6

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

% %

 % %

3

% % % %

2

 &

 & &

 &

1

'( )  *,+ -



8

     !

7

"$# "$# %$# "$#

6

% %$# % %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(10)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# "$# %$# "$#

6

% %$# % %

5

% % % %

4

% &

 % %

3

% % % %

2

 &

 % &

 &

1

'( )  *,+ -



a b c d e f g h

2.d4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

% &

 % %

3

% % % %

2

 &

 % &

 &

1

'( )  *,+ -



8

     !

7

"$# "$# %$# "$#

6

% %$# % %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(11)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# "$# % "$#

6

% %$# " %

5

% % % %

4

% &

 % %

3

% % % %

2

 &

 % &

 &

1

'( )  *,+ -



a b c d e f g h

2. ..f6

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

% &

 % %

3

% % % %

2

 &

 % &

 &

1

'( )  *,+ -



8

     !

7

"$# "$# % "$#

6

% %$# " %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(12)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# "$# % "$#

6

% %$# " %

5

% % % %

4

%

 &

 % %

3

% % % %

2

 & % &

 &

1

'( )  *,+ -



a b c d e f g h

3.c4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 % %

3

% % % %

2

 & % &

 &

1

'( )  *,+ -



8

     !

7

"$# "$# % "$#

6

% %$# " %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(13)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# " % "$#

6

% "$# " %

5

% % % %

4

%

 &

 % %

3

% % % %

2

 & % &

 &

1

'( )  *,+ -



a b c d e f g h

3. ..d6

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 % %

3

% % % %

2

 & % &

 &

1

'( )  *,+ -



8

     !

7

"$# " % "$#

6

% "$# " %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(14)

PaoloC-Krieg, ICC Aprile 2003

8

     !

7

"$# " % "$#

6

% "$# " %

5

% % % %

4

%

 &

 & %

3

% % % %

2

 & % %

 &

1

'( )  *,+ -



a b c d e f g h

4.f4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 & %

3

% % % %

2

 & % %

 &

1

'( )  *,+ -



8

     !

7

"$# " % "$#

6

% "$# " %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(15)

PaoloC-Krieg, ICC Aprile 2003

8

    !

7

"$# " %  "$#

6

% "$# " %

5

% % % %

4

%

 &

 & %

3

% % % %

2

 & % %

 &

1

'( )  *,+ -



a b c d e f g h

4. ..Kf7

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 & %

3

% % % %

2

 & % %

 &

1

'( )  *,+ -



8

    !

7

"$# " %  "$#

6

% "$# " %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(16)

PaoloC-Krieg, ICC Aprile 2003

8

    !

7

"$# " %  "$#

6

% "$# " %

5

% % % %

4

%

 &

 &

 %

3

% % % %

2

 & % % &

1

'( )  *,+ -



a b c d e f g h

5.g4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 &

 %

3

% % % %

2

 & % % &

1

'( )  *,+ -



8

    !

7

"$# " %  "$#

6

% "$# " %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(17)

PaoloC-Krieg, ICC Aprile 2003

8

    !

7

"$# " %  %$#

6

% "$# "$# %

5

% % % %

4

%

 &

 &

 %

3

% % % %

2

 & % % &

1

'( )  *,+ -



a b c d e f g h

5. ..g6

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 &

 %

3

% % % %

2

 & % % &

1

'( )  *,+ -



8

    !

7

"$# " %  %$#

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(18)

PaoloC-Krieg, ICC Aprile 2003

8

    !

7

"$# " %  %$#

6

% "$# "$# %

5

% % % %

4

%

 &

 &

 &

3

% % % %

2

 & % % %

1

'( )  *,+ -



a b c d e f g h

6.h4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 &

 &

3

% % % %

2

 & % % %

1

'( )  *,+ -



8

    !

7

"$# " %  %$#

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(19)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %$#

6

% "$# "$# %

5

% % % %

4

%

 &

 &

 &

3

% % % %

2

 & % % %

1

'( )  *,+ -



a b c d e f g h

6. ..Qe7

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

%

 &

 &

 &

3

% % % %

2

 & % % %

1

'( )  *,+ -



8

  %  !

7

"$# "   %$#

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(20)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %$#

6

% "$# "$# %

5

% % % %

4

&

 &

 &

 &

3

% % % %

2

 % % % %

1

'( )  *,+ -



a b c d e f g h

7.b4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

&

 &

 &

 &

3

% % % %

2

 % % % %

1

'( )  *,+ -



8

  %  !

7

"$# "   %$#

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(21)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %$#

4

&

 &

 &

 &

3

% % % %

2

 % % % %

1

'( )  *,+ -



a b c d e f g h

one pawn try 7. ..h5

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

&

 &

 &

 &

3

% % % %

2

 % % % %

1

'( )  *,+ -



8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %$#

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(22)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %$#

4

 &

 &

 &

 &

3

% % % %

2

% % % %

1

'( )  *,+ -



a b c d e f g h

8.a4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

 &

 &

 &

 &

3

% % % %

2

% % % %

1

'( )  *,+ -



8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %$#

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(23)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

 &

 &

 &$# &

3

% % % %

2

% % % %

1

'( )  *,+ -



a b c d e f g h

pawn capture in g4 8. ..h×g4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

 &

 &

 & &

3

% % % %

2

% % % %

1

'( )  *,+ -



8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

% % %$# %

3

% % % %

2

% % % %

1

% % % %

(24)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

 &

 &

 &  &

3

% % % %

2

% % % %

1

'( ) *,+ -



a b c d e f g h

9.Q×g4 pawn capture in g4

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

 &

 &

 &  &

3

% % % %

2

% % % %

1

'( ) *,+ -



8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(25)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

 &

 &

 &  &

3

% % % %

2

% % % %

1

'( ) *,+ -



a b c d e f g h

9. ..Bd7

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

 &

 &

 &  &

3

% % % %

2

% % % %

1

'( ) *,+ -



8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(26)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

 &

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



a b c d e f g h

10.Qe2

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

 &

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



8

  %  !

7

"$# "   %

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(27)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

%$# "   %

6

% "$# "$# %

5

" % % %

4

 &

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



a b c d e f g h

10. ..a5

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

 &

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



8

  %  !

7

%$# "   %

6

% "$# "$# %

5

" % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(28)

PaoloC-Krieg, ICC Aprile 2003

8

  %  !

7

%$# "   %

6

% "$# "$# %

5

& % % %

4

 %

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



a b c d e f g h

11.b×a5 pawn capture in a5

8

% % % %

7

% % % %

6

% % % %

5

& % % %

4

 %

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



8

  %  !

7

%$# "   %

6

% "$# "$# %

5

% % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

(29)

PaoloC-Krieg, ICC Aprile 2003

8

 %  !

7

%$# "   %

6

% "$# "$# %

5

! % % %

4

 %

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



a b c d e f g h

pawn capture in a5 11. ..R×a5

8

% % % %

7

% % % %

6

% % % %

5

% % % %

4

 %

 &

 & &

3

% % % %

2

% %  % %

1

'( ) *,+ -



8

 %  !

7

%$# "   %

6

% "$# "$# %

5

! % % %

4

% % % %

3

% % % %

2

% % % %

1

% % % %

Riferimenti

Documenti correlati

Con gli Idylls of the King, l’autore mostra quanto sia in stretto legame, da un lato con la fortuna della letteratura arturiana durante il periodo vittoriano, dall’al- tro con

The increase of the ionic conductivity after the first heating ramp in nanocomposites with a high amount of silica is the opposite of that observed for the pure ball-milled LiBH

Bedauerlicher als das Fehlen der Intitulatio in den Texten des Innsbrucker Codex ist der Umstand, dass der unbekannte und derzeit auch nicht näher lokalisierbare Schreiber

ATLAS Collaboration, Search for dark matter at √ s = 13TeV in final states containing an energetic photon and large missing transverse momentum with the ATLAS

18 Quoted in Julian Goodare, “The Scottish Witchcraft Act”, Church History, 74 (2005), 39. 19 His precepts can be summed up in four points: 1) The new Protestant Church to gain

It is hard at this point not to think of another Asperger’s­challenged, crime­solving

riferisce due diverse ipotesi di trasferimento, una riguardante l’intera azienda ed un’altra che fa riferimento ad una sola parte(ramo) d’azienda. Ove si tratti di cessione di