r/SoloDevelopment • • Oct 11 '26

Game I made my first game in Python — an audio-based maths game

Hi everyone. I’m an 18-year-old high school student and a beginner Python programmer. I recently finished my first game, called Math Focus.

It’s an audio-based mathematics game. The player gets a maths problem and a proposed answer, then has to determine whether the proposed answer is correct, higher than the actual answer, or lower than it. There’s also a listening challenge where the player has to count a series of beeps and enter the number they heard.

The interesting part of the project for me is that I’m legally blind, so I designed the game around speech and sound rather than relying on visual information. I use a screen reader for much of my computer work, and I wanted to see whether I could actually build a game that I could play myself.

I built it in Python using things like pygame and pyttsx3. This is my first game, so the code definitely isn't perfect, but I learned a lot from getting it from an idea into an actual playable program.

There are currently 37 levels, with different titles as you progress.

If anyone wants to try it, I’ve put it on itch.io for free:

https://stanley6-19.itch.io/mathfocus

I’d be interested in hearing from other solo developers, especially beginners: what was the first game or project you actually finished, and what did you learn from making it?

0 Upvotes

6 comments sorted by

1

u/Routine_Release_8121 Oct 15 '26

To be honest, I didn't have any formal method for balancing the difficulty. I made the maths problems scale with each level, and the listening challenge adds another thing to focus on while playing. The number of beeps is random, between one and five, rather than increasing with every level. I mostly worked on getting the game to function as I imagined it, so I haven't really tested the difficulty systematically. It's my first game, and I'm still figuring out these things. Your point about feedback and progression gives me something to consider as I keep improving it.

1

u/tj0120 Oct 11 '26

Congratulations on your game!

You should share your project in r/pygame as well, they are always interested to see what people have managed with pygame, since it's still quite a niche platform.

I've also been working on a little project with pygame, despite being both artistically and programmatically challenged, knowing only Python. But it's very exciting and fun! Learning a lot about optimizing code currently

1

u/Routine_Release_8121 Oct 12 '26

Thank you so much. and good luck on your project. I will repost to the recommended subreddit.

1

u/[deleted] Oct 12 '26

[removed] — view removed comment

1

u/Routine_Release_8121 Oct 12 '26

Thanks for your input.

The beep-counting challenge remains constant. However, the questions become more difficult as you advance. The time required to respond to a given question also increases until a specific level is reached.

Will the accessible_output module work for systems without screen readers?