🚧 mobile version 🚧
🎮 The Game 🎮 • Development Project • Clone Project • 📃 License
The game consists of the classic snake game 🐍, where the objective is to collect as much fruit 🍎 as possible, increasing its tail until it collides with something that will end the game. However in this game it is possible to customize the game mode, the difficulty and the stylization.
Developed with javascript, css and html, it was structured in objects, where some values vary their state, or the user can change it in the settings.
Its structure (in which the game is formed) was briefly as follows:
const game = {
global: {
},
status: {
},
entities: {
},
commands: {
},
settings: {
},
events: {
}
}
Check the code
Download Gitbash for the followings commands to clone the project
# Clone the project
$ git clone https://github.com/FelipePDS/snake-game.git
# Open project
$ cd snake-game
Made by
me, FelipePDS 😊
MIT License • © FelipePDS