RiLeone / warbot

An autonomous, simulated game of world-conquest.
GNU General Public License v3.0
2 stars 2 forks source link

Objectify States #29

Closed RiLeone closed 4 years ago

RiLeone commented 4 years ago

Is your feature request related to a problem? Please describe. In order to keep the game modular and ease oversight, we should implement a State module defining a State class. This will allow us to have methods applying to states, separate testing routines, and keeping the code more flexible overall.

Describe the solution you'd like A new source file called States.py implementing a class State defining all current state-related methods and providing a workbench for future extensions.