Skip to content

Commit

Permalink
Fixed IsGameOver() return type
Browse files Browse the repository at this point in the history
  • Loading branch information
i-Madsen committed Jul 22, 2024
1 parent 39c0155 commit 49a6d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_spiel/games/spades/spades.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class SpadesState : public State {
}

// Indicates if overall game is over (did a partnership meet win/lose condition)
void IsGameOver() const { return is_game_over_; }
bool IsGameOver() const { return is_game_over_; }

// Manually set the current player (used to specify starting player)
void SetCurrentPlayer(const int current_player) { current_player_ = current_player; }
Expand Down

0 comments on commit 49a6d4b

Please sign in to comment.