This is a game coded using javascript canvas and html. The game is about Homer Simpson eating donuts. The game is simple, you have to move Homer to eat the donuts that are falling from the sky. If you eat a donut you get a point, if you eat a fruit the game is over. The game has a start screen and a game over screen.
- Node.js
- Clone the repository
- Run live server on the index.html file
- Press the start button
- Move Homer using the arrow keys left and right
- Eat the donuts and avoid the fruits
- If you eat a fruit the game is over
- If you eat a donut you get a point
- Press the restart button to play again
Happy playing! 🍩