Skip to content

Commit

Permalink
Merge pull request #890 from deepmind:lanctot-patch-37
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 463595405
Change-Id: I6286e607cf08c52394f3224de3ca2d6b7337a42e
  • Loading branch information
lanctot committed Jul 31, 2022
2 parents ae9371a + 27243aa commit 78feab4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion open_spiel/games/othello.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ class OthelloGame : public Game {
std::vector<int> ObservationTensorShape() const override {
return {kCellStates, kNumRows, kNumCols};
}
int MaxGameLength() const override { return kNumCells; }

// Conservative upper bound due to pass moves.
int MaxGameLength() const override { return 2*kNumCells; }
};

} // namespace othello
Expand Down
2 changes: 1 addition & 1 deletion open_spiel/integration_tests/playthroughs/othello.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ UtilitySum() = 0.0
ObservationTensorShape() = [3, 8, 8]
ObservationTensorLayout() = TensorLayout.CHW
ObservationTensorSize() = 192
MaxGameLength() = 64
MaxGameLength() = 128
ToString() = "othello()"

# State 0
Expand Down

0 comments on commit 78feab4

Please sign in to comment.