Closed osso73 closed 3 years ago
Menu added. Speed and size buttons not yet implemented. But I can start new game, and exit the program.
Added a help button.
The size button is now implemented, as described in issue #50.
The speed button is now implemented. Speed is defined as a factor, that can be one of the following: 0.5, 0.8, 1, 1.2, 1.5, 2. Game starts with factor=1, and each time the button is pressed in will change to the next value of the list.
The factor is used to divide the time between updates: so the higher the factor, the less time between updates, hence higher is the speed. The speed changes immediately when pressing the button.
Right now pressing the button displays a popup message, but not sure if I want to remove the popup... I'll leave it like this for now.
All buttons implemented, now the issue can be closed.
Menu with some options. At least:
Also use it to keep track of score.