Skip to content

Commit

Permalink
Merge pull request google-deepmind#1018 from morLev:domino
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 519120718
Change-Id: I6af316d97f5ca4ad2e8515bed5ba4a51f032ff25
  • Loading branch information
lanctot committed Mar 27, 2023
2 parents a82151f + 64ba6ac commit c8eaa57
Show file tree
Hide file tree
Showing 7 changed files with 1,066 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/games.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Status | Game
<font color="orange"><b>~</b></font> | [Bargaining](#bargaining)
<font color="orange"><b>~</b></font> | [Battleship](#battleship)
<font color="orange"><b>~</b></font> | [Blackjack](#blackjack)
<font color="orange"><b>~</b></font> | [Block Dominoes](#block-dominoes)
![](_static/green_circ10.png "green circle") | [Breakthrough](#breakthrough)
![](_static/green_circ10.png "green circle") | [Bridge](#bridge)
![](_static/green_circ10.png "green circle") | [(Uncontested) Bridge bidding](#uncontested-bridge-bidding)
Expand Down Expand Up @@ -160,6 +161,17 @@ Status | Game
* 1 player.
* [Wikipedia](https://en.wikipedia.org/wiki/Blackjack)

### Block Dominoes

* Most simple version of dominoes.
* Consists of 28 tiles, featuring all combinations of spot counts (also called
pips or dots) between zero and six.
* Traditional game.
* Non-deterministic.
* Imperfect information.
* 2 players.
* [Wikipedia]([https://en.wikipedia.org/wiki/Blackjack]\(https://en.wikipedia.org/wiki/Dominoes#Blocking_game\))

### Breakthrough

* Simplified chess using only pawns.
Expand Down
564 changes: 564 additions & 0 deletions open_spiel/integration_tests/playthroughs/python_block_dominoes.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions open_spiel/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ set(PYTHON_TESTS ${PYTHON_TESTS}
egt/utils_test.py
environments/catch_test.py
environments/cliff_walking_test.py
games/block_dominoes_test.py
games/data_test.py
games/dynamic_routing_test.py
games/dynamic_routing_utils_test.py
Expand Down
1 change: 1 addition & 0 deletions open_spiel/python/games/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
```
"""

from open_spiel.python.games import block_dominoes
from open_spiel.python.games import dynamic_routing
from open_spiel.python.games import iterated_prisoners_dilemma
from open_spiel.python.games import kuhn_poker
Expand Down
Loading

0 comments on commit c8eaa57

Please sign in to comment.