HaikuArchives / LightsOff

Lights Off! is a rendition of the original handheld game "Lights Out!", manufactured by Tiger Electronics.
MIT License
2 stars 3 forks source link

Allow the user to undo a move by pressing the button again #47

Closed owenca closed 6 years ago

owenca commented 6 years ago

It's easier to undo a move by pressing the same button again. This enhancement should apply to the recorded moves as well.

For example, the user presses Buttons 1, 3, 5, and 6. The last move can be undone by pressing Button 6 again (before pressing any other buttons). If the user steps back to the Button 3 move and then press Button 3 again, the recorded moves will only include the Button 1 move.