diff --git a/open_spiel/games/CMakeLists.txt b/open_spiel/games/CMakeLists.txt index 7e34233779..d01a8f22d3 100644 --- a/open_spiel/games/CMakeLists.txt +++ b/open_spiel/games/CMakeLists.txt @@ -88,6 +88,8 @@ set(GAME_SOURCES mfg/crowd_modelling.h mfg/crowd_modelling_2d.cc mfg/crowd_modelling_2d.h + mfg/garnet.cc + mfg/garnet.h negotiation.cc negotiation.h nfg_game.cc @@ -319,6 +321,10 @@ add_executable(first_sealed_auction_test first_sealed_auction_test.cc $) add_test(first_sealed_auction_test first_sealed_auction_test) +add_executable(garnet_test mfg/garnet_test.cc ${OPEN_SPIEL_OBJECTS} + $) +add_test(garnet_test garnet_test) + add_executable(gin_rummy_test gin_rummy_test.cc ${OPEN_SPIEL_OBJECTS} $) add_test(gin_rummy_test gin_rummy_test) diff --git a/open_spiel/games/mfg/garnet.cc b/open_spiel/games/mfg/garnet.cc index 1393cf1955..f50947f492 100644 --- a/open_spiel/games/mfg/garnet.cc +++ b/open_spiel/games/mfg/garnet.cc @@ -20,6 +20,8 @@ #include #include +#include "open_spiel/abseil-cpp/absl/random/random.h" +#include "open_spiel/abseil-cpp/absl/random/distributions.h" #include "open_spiel/abseil-cpp/absl/strings/numbers.h" #include "open_spiel/abseil-cpp/absl/strings/str_cat.h" #include "open_spiel/abseil-cpp/absl/strings/str_join.h"