Skip to content

maflaven/periodic-snake.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Periodic Snake

Periodic Snake is a pure JavaScript game based on Snake, but there are some key differences:

  • Movement is from left to right, in a wavelike manner
  • Controls modify the snake's amplitude and wavelength
  • The snake grows by absorbing same-colored circles, and it shrinks by colliding with spikes
  • Energy is limited, so the snake has to eat every 20 seconds or face death

Technical Features

  • Node.js
  • Custom 8-bit sounds
  • Snake movement and path projection are sine-wave based
  • Custom transitions

Planned Upgrades

  • Difficulty levels: one spike collision either kills (HARD) or cuts the snake in half (EASY, current default difficulty)
  • Score board
  • Ripple graphics accompanying all motion
  • Mouse controls

About

Periodic Snake is a reimagining of the classic game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published