Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgowan committed Jan 28, 2024
1 parent 3f3183c commit 7678158
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions open_spiel/examples/is_mcts_gwhist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ void PlayGWhist(int human_player, std::mt19937* rng) {
algorithms::ISMCTSFinalPolicyType::kMaxVisitCount,true, false);
std::unique_ptr<State> state = game->NewInitialState();
while (!state->IsTerminal()) {
//std::cout << "State:" << std::endl;
//std::cout << state->ToString() << std::endl;

Action chosen_action = kInvalidAction;
if (state->IsChanceNode()) {
Expand Down Expand Up @@ -75,9 +73,7 @@ void PlayGWhist(int human_player, std::mt19937* rng) {
} // namespace open_spiel


//current issues:
//infostate display for player is inaccurate and unreadable//
//endgame parsing/RETURNS SEEMS to be inaccurate as i got destroyed everytime despite strong play?

int main(int argc, char** argv) {
std::random_device rd;
std::mt19937 rng(rd());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//Source Code for an Executable Generating an Endgame Tablebase for German Whist
//


#include <cassert>
#include <thread>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,6 @@ void GWhistFState::DoApplyAction(Action move) {
std::cout << ActionToString(player_start, move) << std::endl;
std::cout << move << std::endl;
#endif
//history_.push_back(PlayerAction{ player_start,move });
//move_number_++;
}

} // namespace german_whist_foregame
Expand Down

0 comments on commit 7678158

Please sign in to comment.