kanatanssi / covid_game

A simple text-based game about self-isolation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COVID Game

A simple text-based game about self-isolation built with Python.

Uses Flask to build into a basic web app. Install using pip:

pip install Flask

Start the app locally by running the following in the project folder:

flask run

The map used right now is loaded from default_map.json. That 'journey path' can be extended by adding more rooms, items or whatever you wish into that file. Alternatively, another map can be created - to load it, change the MAP_FILE_PATH variable in app.py.

TODO: Random generation of rooms should be possible now that the rooms and map live in their respective objects. How will that be gameplaywise? Hard to say - it could be really cool or really dumb.

About

A simple text-based game about self-isolation.


Languages

Language:Python 100.0%