Some simple games for numworks calculator, to run in python or as applications ! These games are made for fun, when I have a little time and want something simple to program. Don't expect anything incredible, but I'm a bit of a perfectionist so there shoudn't be any (major) bugs.
Everything needs the menu.py script downloaded as well.
Thanks to ZetaMap, you can run these python scripts on your pc with the Kandinksy and the Ion-Numworks modules installed to test them. You can find a lot more programs on numworks.com, where you can even submit your own.
Feel free to look at the code and download it if you want, but it's quite messy. Remember that it is a calculator and not a game console, so anything graphical is quite challenging with the official software! I tried a lot of things before finding a good (enough for now) way to print images, and I can't speed up the refresh rate. It's quite frustrating, but it is also what makes programming on Numworks so interesting!
I'm also using these projects to write some Rust, as I am already used to code in C.
Instructions and controls are included in the games!
Snake : My take on the classic game!
Puissance4 = Connect4 (I'm not bothering changing every file name): works as the python version, but better.
Solitaire : After managing the Python version, it was just a matter of making a good way to display the cards.
Tetris : Yeah. Tetris! I think I followed every rule of the original game.
Flappy Bird : Working ! Could still be better, maybe with better sprites, but who cares.
Numworks_utils contains every utility code I use : the numworks functions, the entire menu code, Tilemap tools and other functions.
Model is a basic repo you can use to start your game using my template.
Ignore ppm_decoder and engine for now, as it doesn't work at all. I'm trying to find a better way to manage sprites and draw images despite the bad refresh rate.
There are still a lot of impossible things with the official software (like saving anything), so consider installing an other one like Omega if you want to do some really complex things. If you want to create some apps that run on Epsilon, see the Rust-based template, C++ and C.