You've all seen snake, but let's bring it into the true third (not really fourth) D I M E N S I O N!
After seeing Snake game after Snake game, I noticed that the trend was whenever it was adapted to 3D it always lacked Y-axis movement! Since I felt that was a total waste of a dimension that set me off to implement a version of it that wasn't constrained to two axes in JavaScript. After finding three.js I knew I would be able to complete my idea! Without futher ado:
|
You can test and run this just by dragging public/index.html
into the browser.
Feel free to install using NPM as well npm install 4dsnake
.
This project is deployed on Github Pages. By keeping the top level index.html
file, it will automatically populate to github pages. The only thing you need to do is edit the route to your own public/index.html
route hosted on github pages.
You can also host this project on any cloud deployment you like, I chose Heroku for its quick setup. It hosts the project using NodeJS a simple http-server that uses the $PORT
environment variable (or defaults to 4000
).
- NodeJS - Web Server
- JavaScript - Front End
- ThreeJS - 3D Engine
- CSS - Styling
- Maya - 3D Content
- @Ironhack for supporting me during the project!
- @bobbypwang - For keeping me sane throughout the project and helping me brainstorm the idea.
- @crispinonicky - For helping me out with some radian math!