MicahWW / Python-Games

2 stars 0 forks source link

PyTest checks bot in complex scenarios #72

Closed codyswanner closed 1 year ago

codyswanner commented 1 year ago

See issue #66 for details on the problem this is meant to solve. PyTest now checks that given the choice between blocking the opponent and winning the game, the bot will choose to win the game.

win_options was already changed to WIN_OPTIONS in main by a previous pull request (#69, nice) but for some reason it didn't take on PyCharm, so I changed it manually and hopefully PyCharm gets on board this time.

Resolves #66