Program written in p5js which is a kind of simplified processing
(program code)
To see the few differences, check here the Processing transition tutorial
Game Rules
- You can left click a cell where
you think there is no bomb. If this
is the case, the program will print
the number of neighboring bombs. Otherwise, it prints the number of points and the game is over.
- You can right click a cell where
you think there is a bomb. If this is the case you gain one point, otherwise
you lose one point.