Skip to content

Commit

Permalink
Add multi-issue bargaining game from Lewis et al. '17 / DeVault et al…
Browse files Browse the repository at this point in the history
…. '15.

PiperOrigin-RevId: 440086090
Change-Id: I9889af36f655c51c9cf1e2a18484f76a7fed5211
  • Loading branch information
lanctot committed Apr 7, 2022
1 parent 6e36388 commit 0c265fb
Show file tree
Hide file tree
Showing 10 changed files with 2,102 additions and 11 deletions.
11 changes: 11 additions & 0 deletions docs/games.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Status | Game
-------------------------------------------- | ----
<font color="orange"><b>~</b></font> | [Amazons](#amazons)
![](_static/green_circ10.png "green circle") | [Backgammon](#backgammon)
<font color="orange"><b>~</b></font> | [Bargaining](#bargaining)
<font color="orange"><b>~</b></font> | [Battleship](#battleship)
<font color="orange"><b>~</b></font> | [Blackjack](#blackjack)
![](_static/green_circ10.png "green circle") | [Breakthrough](#breakthrough)
Expand Down Expand Up @@ -94,6 +95,16 @@ Status | Game
* 2 players.
* [Wikipedia](https://en.wikipedia.org/wiki/Backgammon)

### Bargaining

* Agents negotiate for items in a pool with different (hidden) valuations.
* Research game.
* Non-deterministic (randomized pool and valuations).
* Imperfect information.
* 2 players.
* [Lewis et al. '17](https://arxiv.org/abs/1706.05125),
[DeVault et al. '15](https://www.aaai.org/ocs/index.php/SSS/SSS15/paper/viewFile/10335/10100)

### Battleship

* Players place ships and shoot at each other in turns.
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 @@ -3,6 +3,8 @@ set(GAME_SOURCES
amazons.h
backgammon.cc
backgammon.h
bargaining.cc
bargaining.h
battleship.cc
battleship.h
battleship_types.h
Expand Down Expand Up @@ -246,6 +248,12 @@ add_executable(backgammon_test backgammon_test.cc ${OPEN_SPIEL_OBJECTS}
$<TARGET_OBJECTS:tests>)
add_test(backgammon_test backgammon_test)

add_executable(bargaining_instance_generator bargaining_instance_generator.cc
${OPEN_SPIEL_OBJECTS})
add_executable(bargaining_test bargaining_test.cc ${OPEN_SPIEL_OBJECTS}
$<TARGET_OBJECTS:tests>)
add_test(bargaining_test bargaining_test)

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

0 comments on commit 0c265fb

Please sign in to comment.