Inspiration
The nostalgia of classic arcade games inspired us to reimagine the beloved Snake game with modern visuals, responsive controls and adaptive difficulty. We aimed to create a basic yet challenging game for players of all ages.
What it does
The game allows players to control a snake as it slithers across the screen, eating food to grow longer while avoiding collisions with the walls and itself. It features:
- Smooth controls (keyboard and touch).
- Gradually increasing difficulty to keep players engaged.
How we built it
- HTML5 Canvas for rendering the game board and snake.
- CSS for styling the interface, including the game container, buttons, and modals.
- JavaScript for game logic, including movement, collision detection, score tracking, and adaptive speed scaling.
- Amazon Q for the bulk of the game design as well as guidance on AWS services
- S3 for static website hosting
Challenges we ran into
- Ensuring responsive design for both desktop and mobile devices.
- Debugging edge cases like collision detection and overlapping food placement. ## Accomplishments that we're proud of
What we learned
- Advanced use of the HTML5 Canvas API for game development.
- Techniques for animations and handling game loops efficiently.
What's next for Snake
- Live leaderboard
- Introducing power-ups and obstacles for more gameplay variety.
- Adding customizable themes or skins for the snake and game board.
Log in or sign up for Devpost to join the conversation.