hlynurd / open-mtg

A python implementation of Magic: The Gathering with an AI that plays it using Monte Carlo move evaluation.
MIT License
140 stars 32 forks source link

Logging, Enum for Phases and new main.py #10

Closed christophhillisch closed 4 years ago

christophhillisch commented 4 years ago

I implemented logging instead of the print() commands.

Changed Phases, so they work via an Enum instead of a List of Phases with an index additionally.

Changed main.py so logging works and future command line input is possible (amount of games to be played, maybe a human player, ...)