Skip to content
/ Snake Public

Visually accurate clone of Snake, for fun and nostalgia

Notifications You must be signed in to change notification settings

SystemFw/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Snake

A Scala clone of Snake II as played on the Nokia 3310, for fun and nostalgia.

  • Fun: I've tried to use the minimum possible amount of Swing code, and do pixel-by-pixel rendering instead.
  • Nostalgia: I've tried to be visually accurate to capture the feel of the original game. Some of the behaviour (but none of the code) has been modelled by observing https://helpfulsheep.com/snake/.

Demo

snake.mov

Run

Install scala-cli. Then:

scala-cli Snake.scala

Controls

Command Description
arrows movement
1-9 change speed/level
spacebar pause/resume

About

Visually accurate clone of Snake, for fun and nostalgia

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages