DEV Community

James Wooff
James Wooff

Posted on

Math Boss Game

Hello. My name is James, and I'm learning to code on Code Academy. As part of my course, I've created a short math boss game, which I have been instructed to blog about.

Here is the git hub link: https://github.com/SpoopyBlob/Math-Boss-Game/blob/master/Game.py

Overall, the objective is to defeat each boss at every level by answering math questions that will increase in difficulty, not too hard. Within this game you can level up, upgrade stats, earn healing potions, save your character and choose how you attack a boss. For example, you could specialise in physical damage, magic or both. Within this project, I have used OOP to create my player and boss class, the CSV module, to save user/boss data and the random module, to help generate math questions and the boss's action.

Obviously I still have a lot to learn but I'm enjoying the journey, thanks for reading my blog :)

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post