DEV Community

asmuppet
asmuppet

Posted on

First Actual Program: A miniature, turn-based battle

This is just a little game I made to test out how to use classes in Python. A very basic turn based battle system, while it is fairly modular, I couldn't figure out how to get the speed stat to really work without just having the same block of code twice but slightly rearranged. That didn't seem like the right way to go about doing that, so I left it as is for now until I figure out a better method.

https://github.com/asmuppet/portfolio/blob/main/minijrpg.py

I'm fairly satisfied with it, as this seems like it a good start.

Top comments (0)