Skip to content

A text-based RPG in Python where the computer acts as the game master, using Rich for beautiful terminal output and Click for command handling.

License

Notifications You must be signed in to change notification settings

hamdyaea/roleplay-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Code style: black Python

Screenshot

I've created a complete text-based RPG game with the following features:

Rich terminal interface with colored text and panels
Character creation and status display
Combat system with multiple enemies
Inventory system
Shop system
Level up mechanics
Experience and gold rewards

To run the game, you'll need to install the required packages:

pip install rich click  

Then you can run the game:

python play.py

The game includes:

Different types of enemies (Goblin, Wolf, Bandit, Dragon)
Combat actions (attack, use potion, run)
A shop to buy items
Health potions system
Level-up mechanism
Character statistics tracking

Developer

Hamdy Abou El Anein
hamdy.aea@protonmail.com

About

A text-based RPG in Python where the computer acts as the game master, using Rich for beautiful terminal output and Click for command handling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages