/Mini_Snake_Game

A small project to implement the classical Snake Game on a web browser. Made with Javascript, HTML and p5.js module.

Primary LanguageJavaScript

The Mini Snake Game

Author: Amitrajit Bose

Click Here To Play Now

This is a small project with the basics of Javascript, HTML and p5.js module.

I named this simply as "Mini_Snake_Game" because it is an age old classical snake game that runs on the web browser and the snake is guided by the user's key arrow controls to eat the food and grow in length.

Feel free to make this project better.

Feel free to send a PR. Some necessary advancements:

  • Welcome screen should be added. The game should start when the user wants to start it.
  • Score and Game Over is missing.
  • Menu is missing. There should be a menu that asks the user what he/she wants to do or may be some other customizations.
  • There should be difficulty levels in the game that will come layer by layer after fixed time intervals.
  • Sound and Animation

HOW TO PLAY:

Method 1-

  • Download GitBash and clone the link of the repository.
  • Run the index.html file on your web browser and use arrow keys for moving the snake.

Method 2-

  • Download the ZIP file for the repository.
  • Unzip in your system.
  • Run the index.html file on your web browser and use arrow keys for moving the snake.