RiLeone / warbot

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

Execute from main.py #11

Closed RiLeone closed 3 years ago

RiLeone commented 4 years ago

Is your feature request related to a problem? Please describe. So far a main.py is provided but it is empty.

Describe the solution you'd like Content of main.py should be implemented so to run a game, visualise history and compute stats for a specified world (either by command line argument parsing or some other way). A new folder called worlds should be created; this folder should contain subfolders for each playable world (e.g. Switzerland, Debugworld, etc.); the script should walk the directory and return the possibilities to the user which can select one of the worlds (provide a default); upon confirmation the script simulator starts.

SGE-MagHead commented 4 years ago

Whe should also think what GUI/Visualisation package to use, if we standardize on it, is going to be easier to merge stuff together

RiLeone commented 4 years ago

Indeed @SGE-MagHead, if you have any suggestions, please go ahead and add them here so that we can keep track of this

bdaawg commented 4 years ago

@SGE-MagHead are you taking care of visualisation currently?

RiLeone commented 4 years ago

Basic functionalities have been implemented, but issue is far from complete. Set it back to "To do".

mafilipp commented 3 years ago

What do you think about using flask? Flask is a framework for creating webpages. It is an easy way to get warbot online. In the future we could deploy it on a server, and anyone could access it from the internet. In this way anyone who wants to play does not need to install all the python's package etc but just access the game from a link. I will create in the next days a PR so that you can evaluate it.