JavaScript-Snake
JavaScript-Snake copied to clipboard
The game of Snake written in JavaScript.
I think it would be cool if the site would automatically when the user moves to different tab
Added pause when window minimized or user changes tab. Added info button in welcome screen which shows info about the game itself.
### Refactor Key Handling in Snake Game to Use Lookup Table for Arrow Keys I suggest refactoring the `handleArrowKeys` method to replace the current `switch` statement with a more maintainable...