flappy-svg
flappy-svg copied to clipboard
Keyboard Control
Allow controlling the Flappy-Game only via Keyboard:
- [x] change character via space
- [x] change background via
b
- [x] start the game via ENTER
- [ ] restart the game via space and ENTER when game is over
- [ ] Document this in the how-to
@niccokunzmann I would like to work on this :)
@Marauderer97 sure, please go ahead!
@niccokunzmann I have implemented the first 3 points. As for the restart, handling two keystrokes at once was giving me trouble, so I used r key to restart the game. I decided to wait for your approval before modifying the how to play svg. :)
@Marauderer97 pls change the how to play to comply with the changes, we would also like to read your good PRs