Skip to content

This project enables me to implement my learning on Clean and Optimized code in Pure HTML | CSS | JavaScript

Notifications You must be signed in to change notification settings

qasimmughalz/Snake-Game-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This project enables me to implement my learning on Clean and Optimized code in Pure HTML | CSS | JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published