A fun and engaging 3D Snake Game using A-Frame. Navigate the snake in a virtual environment to collect orbs and advance through stages. Watch out for self-collisions!
Please feel free to submit issues!
- Immersive 3D graphics - Dive into a unique 3D experience.
- Varied Environments - Different environments for each stage.
- Mobile-friendly - Play with intuitive touch controls on your mobile device.
- Life System - You get 3 lives before the game resets, so play carefully!
- Dynamic Display - Always know your score with real-time updates for orbs collected and your current stage.
W: Move UpA: Move LeftS: Move DownD: Move Right
- Top of screen: Move Up
- Bottom of screen: Move Down
- Left side: Move Left
- Right side: Move Right
- Collect the red orbs to increase your score and the length of the snake.
- Reach the target number of orbs to advance to the next stage.
- Explore and enjoy a new environment with each stage.
- Avoid colliding with yourself to stay in the game.
- Run out of lives? No worries! Start over and aim for a higher score.
- Clone this repository.
- Navigate to the project directory.
- Open
index.htmlin your favorite web browser.
Feel free to dive into the source code to:
- Introduce more stages
- Adjust the difficulty
- Add new features or challenges
- A-Frame: For creating the 3D virtual environment.
- JavaScript: Powers the game dynamics and interactivity.
- A-Frame
- A-Frame Environment Component
- This project was made by Devin Baldwin and the students of Reach Ashland Youth Center's Coding Class