Skip to content

ilkerozgedik/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

A classic Snake game implementation using HTML5 Canvas and JavaScript.

Features

  • Responsive canvas-based gameplay
  • Score tracking
  • Collision detection
  • Keyboard controls

How to Play

  1. Use arrow keys to control the snake:

    • ↑ Up arrow: Move up
    • ↓ Down arrow: Move down
    • ← Left arrow: Move left
    • → Right arrow: Move right
  2. Eat the red food to grow and increase your score

  3. Avoid hitting the walls or yourself

  4. Try to achieve the highest score possible!

Setup

Simply open index.html in a web browser to start playing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published