r/PythonLearning • u/Darx32102 • 1d ago
Showcase Texted-Based RPG
Hey yall I’ve been working on a text-based RPG for the past week and have pushed v0.1.4 out to GitHub.
https://github.com/DraytonLarimore-Rowe/Timeless_Adventures-Text-Based-RPG
I’d be honored if anyone wants to give it a go as I start to build the story. The foundation for combat is there and so is a shop.
0
u/Sea-Ad7805 1d ago
Run this program in Memory Graph Web Debugger to see the program state change step by step.
1
u/Darx32102 1d ago
I did program this on my iPad using Carnets-Jupyter and it worked when I ran test runs. Just curious of feature ideas from the community
1
u/Sea-Ad7805 1d ago
Nice project, I used to write text adventures to. My link above just allows people to run your code in their web browser, so no need to download and run internet code on their system that could damage it. Plus the visualization shows how the program works.
1
u/Darx32102 1d ago
Right that makes a lot of sense. But I promise there is no malware in the code. Just a very basic rpg.
1
u/FoolsSeldom 1d ago
Had a quick look at the code, and it looks pretty good. Surprised not to see
dataclassesto reduce boilerplate and perhaps more subclasses. Usually, these games include more behaviour, such as, for example, the fighting being included as a method.Will leave others to give the game a go if inclined.