Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /