Open Meerkov opened 6 years ago
More specifically, it just hurts the AI because it will not actually know the location of the cards it should.
state.players[k].shuffle_deck() should be 4 lines up.
+1, this MCTS needs to remember what it knows after casting Index
https://github.com/hlynurd/open-mtg/blob/8ad261f255859e90a93c446551911278eeec3cae/mcts.py#L74
This currently looks at my deck, finds the cards that are indexed, puts them in "indexed_cards_in_deck". Then it takes "indexed_cards_in_deck" and puts them BACK into my deck.
Then it shuffles the deck.
This code doesn't do anything.