TheLordVier / battle_game

This small game with a web interface about the battle of heroes in the style of old-school browser games. This game that allows you to choose two characters for battle. When editing characters, you can give them a name, class, weapon, and armor. Each class has individual stats and a special skill that they can use once per game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Battle game (a small game with a web interface about the battle of heroes in the style of old-school browser games)

Project developed by: Mikhailov Alexander

Application structure:

app.py - main application with views

base.py - arena class file for our application

classes.py - a file with our character classes and their characteristics

equipment.py - file with weapons and armor and their performance

skills.py - file with the skills of our characters

unit.py - file with the main application logic (base class, player class and enemy class)

wsgi.py - application deployment file

requirements.txt - application dependencies

.gitignore - files and folders to ignore in Git version control

  • Directory data - Directory with application source data

    • equipment.json - JSON file with weapon and armor data
  • Directory templates - Directory with application templates (HTML)

    • fight.html - App arena menu template (HTML)
    • hero_choosing.html - Character selection menu template (HTML)
    • index.html - Application main menu template (HTML)

About

This small game with a web interface about the battle of heroes in the style of old-school browser games. This game that allows you to choose two characters for battle. When editing characters, you can give them a name, class, weapon, and armor. Each class has individual stats and a special skill that they can use once per game.


Languages

Language:Python 76.0%Language:HTML 23.5%Language:Dockerfile 0.5%