This was hard to get it so that you can’t input invalid button sequences.
- Model as a state machine
- Try to make it look like the iOS unlock keypad
The idea is for it to a work timer. I used a div that rotates at a fixed interval based on the time left. It runs backwards during the break.
I just made the basic functionality for this one. Right now the O’s don’t look right on some browsers.
- Make the O’s look right on all browsers
- Use the unbeatable algorithm
I found some interesting css patterns instead of making it look just like the original game.
- Have buttons disabled until game starts