This game is made using p5js canvas. As it is designed in module form, anyone can clone this repo and customize easily https://karthiknedunchezhiyan.github.io/MultiLevel-Snake-Game
As it is easily customizable and adaptable to all screen size, you can add it to your web and mobile project, For swipe hammerjs is used
You can also use this for machine learning algorithmns like genetic algorithm, neural network, neuro evoluation network and many others....
- main.js has all the controller and game logic
- Environment.js has environment controlls like food.
- snakeDNA.js has controlls like health, score, (velocity | position | scale ) of snake.
- map.js has map controlls like levels.
Try this game in https://karthiknedunchezhiyan.github.io/MultiLevel-Snake-Game
Karthik Nedunchezhiyan – @Github – karthik1705.n@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
- Fork it (https://github.com/KarthikNedunchezhiyan/MultiLevel-Snake-Game/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
- Kindly open a issue if you found any bug
- Share your suggestions and ideas