Inspiration
The original two-dimensional snake game, which is readily accessible on Google Doodle, served as our inspiration.
What it does
We converted the idea of the snake game into a three-dimensional environment and included simple controls so that players could play and consume apples to improve their score. Additionally, we developed an AI algorithm to effectively play the game on its own.
How we built it
In order to create the app, we used the P5.js framework, DOM Javascript, HTML, CSS, and P5.js for designing three-dimensional canvases.
Challenges we ran into
Using the P5.js framework to construct the three-dimensional canvases presented some difficulties for us because we had never used it for a 3D project. Due to the intricate nature of the algorithm, we also encountered numerous difficulties when attempting to create the AI for the snake game.
Accomplishments that we're proud of
The AI algorithm we created and incorporated into the web application is something we are really proud of. We are pleased that we were able to create this three-dimensional space and use the JavaScript framework to move about the dimensions.
What we learned
Since we had never used the P5.js framework previously, we had to learn how to use it.
What's next for Snakes
Built With
- nix
- p5js
- python
- replit
- vercel
Log in or sign up for Devpost to join the conversation.