This is an ✨upgrade✨ to the commonly done project, the snake game! 🐍🍎
It teaches me how to use javascript to create a game canvas in a webpage, using event listeners and other fun stuff to make this game. 🎮
I have made a few modifications to the standard snake game, to make it more user friendly.
1. Adding a score counter so users can keep track of their scores.
2. Adding a CSS white boarder around the game canvas so users know the playing field.
3. Prevent default behaviour of arrow keys of scrolling the page.
4. Adding difficulty buttons so users can pick the level they want to play at.