Skip to content

ararita/snake-game

Repository files navigation

Overview

This is a clone of mobile snake game, built with Vanilla JavaScript

Features

  • Snake moves in a different direction controlled by keyboard keys
  • 'Food' pieces display randomly, never within snake's body
  • Addition to snake's length when 'food' was 'eaten'
  • Snake speeds up after every fifth piece 'eaten'
  • Points are collected depending on number of eaten pieces
  • Gameover when snake's head hits the edge of the container or its own body
  • Stop jungle sounds by clicking on the sound icon
  • Sound plays when 'food' picked
  • Restart the game

Technologies

  • HTML
  • CSS
  • JavaScript

Play the game

ssssnake game

Preview

Start the game

Play

Game Over

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published