Skip to content

Commit

Permalink
Merge pull request #1233 from i-Madsen:master
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 639115174
Change-Id: I58f400d738389a019ddc21d2b5c70fcf6ddaafc7
  • Loading branch information
lanctot committed May 31, 2024
2 parents f3c2ce7 + 798ee33 commit 82b5aac
Show file tree
Hide file tree
Showing 9 changed files with 2,307 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/games.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
| 🔶 | [Skat (simplified |
: : bidding)](#skat-simplified-bidding) :
| 🔶 | [Solitaire (K+)](#solitaire-k) |
| 🔶 | [Spades](#spades) |
| 🔶 | [Team Dominoes](#team-dominoes) |
| 🟢 | [Tic-Tac-Toe](#tic-tac-toe) |
| 🟢 | [Tiny Bridge](#tiny-bridge) |
Expand Down Expand Up @@ -864,6 +865,16 @@
* [Wikipedia](https://en.wikipedia.org/wiki/Klondike_\(solitaire\)) and
[Bjarnason et al. '07, Searching solitaire in real time](http://web.engr.oregonstate.edu/~afern/papers/solitaire.pdf)

### Spades

* A four-player card game.
* Card game.
* Traditional game.
* Non-deterministic.
* Imperfect information.
* 4 players.
* [Wikipedia](https://en.wikipedia.org/wiki/Spades_\(card_game\))

### Team Dominoes

* Team version of dominoes.
Expand Down
8 changes: 8 additions & 0 deletions open_spiel/games/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ set(GAME_SOURCES
skat/skat.h
solitaire/solitaire.cc
solitaire/solitaire.h
spades/spades.cc
spades/spades.h
spades/spades_scoring.cc
spades/spades_scoring.h
stones_and_gems/stones_and_gems.cc
stones_and_gems/stones_and_gems.h
tarok/tarok.cc
Expand Down Expand Up @@ -579,6 +583,10 @@ add_executable(solitaire_test solitaire/solitaire_test.cc ${OPEN_SPIEL_OBJECTS}
$<TARGET_OBJECTS:tests>)
add_test(solitaire_test solitaire_test)

add_executable(spades_test spades/spades_test.cc ${OPEN_SPIEL_OBJECTS}
$<TARGET_OBJECTS:tests>)
add_test(spades_test spades_test)

add_executable(stones_and_gems_test stones_and_gems/stones_and_gems_test.cc
${OPEN_SPIEL_OBJECTS}
$<TARGET_OBJECTS:tests>)
Expand Down
Loading

0 comments on commit 82b5aac

Please sign in to comment.