Skip to content

SlitherScript is my JavaScript + HTML solution for an intuitive snake game to play on any browser!

License

Notifications You must be signed in to change notification settings

Dinervc/SlitherScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlitherScript 🐍

This is a simple implementation of the classic Snake game in JavaScript. The snake moves around a grid, eating apples to grow longer, while avoiding its own tail.

Features 🎮

  • Snake movement with arrow keys
  • Random apple generation
  • Responsive grid that adjusts based on window size
  • Game over when snake touches its own body or the grid's boundaries

How to Run 🚀

To play the game, simply open index.html in any modern web browser.

Requirements 🖥️

  • Any modern web browser with JavaScript enabled.

Future Improvements 🚀

  • High score tracking
  • Difficulty levels
  • ???

License

This project is open-source and can be used and modified by anyone so long as you agree that you use my code on your own risk.

About

SlitherScript is my JavaScript + HTML solution for an intuitive snake game to play on any browser!

Resources

License

Stars

Watchers

Forks

Packages

No packages published