Math Challenge Game
When I said my next game would be more fun, it appears that I lied!
My daughters class starts every day with 100 math questions in 2 minutes challenge. I created this game to help her practice at home. The 'real' game I've been working on in the background makes extensive use of the PC graphics, so I've incorporated them too.
Have fun. My best time is 112 seconds.
Just a question: how long does it took to program this impressive game? I'm just starting with Python(ista) and was astonished what is possible with this app.
Thanks for this nice program. It shows me several good practices in Python(ista).
I see that you show several images by name, e.g. PC_DIRT_BLOCK. Where can I find a reference to these images. are there more of those 'hidden features'?
The game probably took me about an hour or so to get a functional prototype going. I probably spent another 2 - 3 hours, debugging, tuning and making it look nice.
When you are in the editor in Pythonista you will see a "+" button up the top. Tap it to bring up a browser of all the built in images, colours, fonts and sounds.
@upwart And if you are using an iPhone, touch and hold the screen (like if you were going to paste something) and tap <b>insert</b>. Then you'll also get the browser of all the built in images, colors, fonts and sounds.
@bashedcrab Great game, by the way!
In the comments of the gist, I created a friendly fork using scene.Layers. I find that Layers simplify drawing logic. When LAYER_DRAW is set to True, the methods draw_problems() and draw_buttons() are no longer required. There is an old blocks problem that I was unable to resolve that probably requires some del commands on blocks when starting gameplay. I had a similar issue when I ported JumpyOctopus.py to use Layers.