Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add game: EinStein würfelt nicht! #1289

Merged
merged 9 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -422,6 +424,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
Loading