Skip to content

at8tech/python-battle-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

⚔️ Python Battle Game

A simple turn-based battle game built with Python.

How It Works

  • You start with 50 health points.
  • The enemy starts with 50 health points.
  • Each turn you can:
    • Attack (random damage between 5–10)
    • Use a potion (restore 15–50 health, 3 potions available)
  • If you use a potion, you skip your next turn.
  • The enemy attacks every round (5–15 damage).
  • First to reach 0 health loses.

Requirements

  • Python 3.x

Run the Game

python main.py

About

Simple turn-based CLI battle game built with Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages