Closed phblj closed 7 years ago
without going overboard, let's split webserver into the following files:
webserver.py
game.py
db.py
game_config.py
without going overboard, let's split webserver into the following files:
webserver.py
: routes and error handlers for the server. The main section to start the servergame.py
: actual game logic. buy, sell, harvest, etc.db.py
: pull data from databasegame_config.py
: read/access game config, seed config, resource config data