Minesweeper on my Graphic Calculator
Vložit
- čas přidán 8. 09. 2024
- I learned Casio Basic in a few days to program Minesweeper on my calculator. The challenge of this project was to find ways to create queues and functions with my calculator’s low level language structure.
thanks to you
you motivate me to learn python and programming in general
Heyy I’m glad to hear that!
I too was motivated to learn coding by watching talented programmers. I’m happy that I somehow motivated you like they did for me!
Btw if you ever need extra ressources to learn python, you can check my friend’s channel. He teaches python neatly:
czcams.com/play/PLlvT0pELlo-xRkKT1_cH_RdaQ43ykt7dV.html
Nice, I programed it as wel on the ti-84 except without the automatic clearing of the zero squares. impressive how you implemented what i'm assuming is the floodfill algorithm.
YEEE THANK YOU.
From memory (since it has been a long time), when I uncover a zero, I coded the computer so that it creates some kind of artificial queue storing all the coordinates of neighbouring tiles to uncover. If it sees a zero in the queue, it would add all neighbouring tiles of that tile to the queue. The algo will keep going until there’s nothing left in the queue and I would use a counter to know where I am at in the queue since I couldn’t delete elements in the start of a matrix 😅 because of performance issues in the calculator
now for the real question… Can It Run Doom?
wow man, how did you do that?!
Casio calculator have their own programming language (Casio basic). I checked the calculator manual online to learn the language and directly program on my calculator (the part at the start is the code on the calculator).
The rest is just programming and optimizing using the limits of the programming language.
@@cossibility7019 whoa.
Epic
Whoa
A calculating minesweeper
Tutorial