Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.16 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.16 KB

Snake-Game-Pure-JavaScript

After larning more about clean and optmized code in-depth. This project enables me to implement clean code and re-fresh my skils in pure HTML | CSS | JavaScript once again.

Project Description

This is a classsical snake game. I'm pretty sure you must have played this before. When the game starts, snake moves and you help him eat the food. while keeping 2 things in mind. 1- You do not hit the wall otherwise the game will over. 2- You do not hit snake's own body by taking turns. And that's it. You keep helping snake eat the food the snake become bigger and bigger so does your score increase and so he complexity.

Need Any Help ?

Write me down if you need any help. Muhammad Qasim

Game Features

  • On eating food each time, Score increases 2+ points.

GameOver Rule

  • If you hit any wall of the board.
  • If you hit your own body.

FORK

You can easily fork the repo to your github if you want to test it in your pc and play around with code.

Support Developer

Leave a star if you find this helpful , It helps me write more code and fun proojects like this.

Thanks