Skip to content

Commit

Permalink
Merge pull request #1289 from giogix2:einstein_wurfelt_nicht
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 706703426
Change-Id: I8819f39f644fbcd7dad8ceffe68595d44fe3a8c5
  • Loading branch information
lanctot committed Dec 16, 2024
2 parents bd204e5 + eec844a commit 4907fa2
Show file tree
Hide file tree
Showing 7 changed files with 1,392 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/games.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Status | Game
🟢 | [Dots and Boxes](https://en.wikipedia.org/wiki/Dots_and_boxes) | 2 | ✅ | ✅ | Players put lines between dots to form boxes to get points.
🔶 | [Dou Dizhu](https://en.wikipedia.org/wiki/Dou_dizhu) | 3 | ❌ | ❌ | A three-player games where one player (dizhu) plays against a team of two (peasants).
🔶 | [Euchre](https://en.wikipedia.org/wiki/Euchre) | 4 | ❌ | ❌ | Trick-taking card game where players compete in pairs.
🔶 | [EinStein würfelt nicht!](https://en.wikipedia.org/wiki/EinStein_w%C3%BCrfelt_nicht!) | 2 | ❌ | ✅ | Players control 6 numbered cubes, selected randomly by the roll of a die. The player that gets on the opponent's board corner, or captures all the opponent's cubes wins.
🟢 | [First-price Sealed-Bid Auction](https://en.wikipedia.org/wiki/First-price_sealed-bid_auction) | 2-10 | ❌ | ❌ | Agents submit bids simultaneously; highest bid wins, and that's the price paid.
🟢 | [Gin Rummy](https://en.wikipedia.org/wiki/Gin_rummy) | 2 | ❌ | ❌ | Players score points by forming specific sets with the cards in their hands.
🟢 | [Go](https://en.wikipedia.org/wiki/Go_\(game\)) | 2 | ✅ | ✅ | Players place tokens on the board with the goal of encircling territory.
Expand Down
6 changes: 6 additions & 0 deletions open_spiel/games/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ set(GAME_SOURCES
efg_game/efg_game.h
efg_game/efg_game_data.cc
efg_game/efg_game_data.h
einstein_wurfelt_nicht/einstein_wurfelt_nicht.cc
einstein_wurfelt_nicht/einstein_wurfelt_nicht.h
euchre/euchre.cc
euchre/euchre.h
first_sealed_auction/first_sealed_auction.cc
Expand Down Expand Up @@ -424,6 +426,10 @@ add_executable(efg_game_test efg_game/efg_game_test.cc ${OPEN_SPIEL_OBJECTS}
$<TARGET_OBJECTS:tests>)
add_test(efg_game_test efg_game_test)

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

add_executable(euchre_test euchre/euchre_test.cc ${OPEN_SPIEL_OBJECTS}
$<TARGET_OBJECTS:tests>)
add_test(euchre_test euchre_test)
Expand Down
Loading

0 comments on commit 4907fa2

Please sign in to comment.