A small game with a web interface about the battle of heroes in the style of old-school browser games.
- You can choose a hero for yourself and the enemy and join the battle!
- Use your weapons and skills to defeat the enemy!
- Python 3.10.6
- Flask 2.0.2
- gunicorn 20.1.0
- Jinja2 3.0.3
- marshmallow 3.14.1
- marshmallow-dataclass 8.5.3
- mypy 0.991
- Clone project
git clone https://github.com/AndrewIsaev/Battle_game.git
- Create virtual environment
python3 -m venv venv
- Activate virtual environment
source venv/bin/activate
- Install requirements
pip install -r requirements.txt
- Run flask application
export FLASK_APP=run.py flask run
data/
: weapon datatemplates/
: templatesapp.py
: main appbase.py
: arena entityclasses.py
: unit entityequipment.py
: equipment entityskills.py
: skills entityunit.py
: unit entity