Skip to content

A simple snake game made with JavaScript, JQuery library, CSS, HTML and the Python Flask framework as backend.

License

Notifications You must be signed in to change notification settings

tanvirtin/jquery-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classic Game of Snake!

A simple snake game made with JavaScript, JQuery library, CSS, HTML and Python Flask framework as backend.

Make sure you have Python 3 installed and pip as well. If so in the terminal pip install flask and download the code. To run the code open up the terminal and type in:

python app.py

open up any browser of your choice and goto:

localhost:2406 to play the snake game. 

The game is far from perfect and can be improved a whole lot, I wanted to limit myself and test my JavasScript, HTML and CSS abilities by using only one library which is JQuery.

The web application in general is not very efficient as it uses a lot of recursion, as every move the snake moves is chains of recursive functions. The snake, parts of it's body, the food and even the body are all HTML div tags.

snake-google-chrome-2017-12-17-3_25_31-am

About

A simple snake game made with JavaScript, JQuery library, CSS, HTML and the Python Flask framework as backend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published