Skip to content

TomShacham/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

This is a fun interview challenge for Typescript.

Run

To start a new game run:

yarn start {height} {width}

Test

yarn test

Conventions

The grid is specified in (x, y) coordinates i.e.

 ----------> x
|
|
|
|
y 

To do

  • Move snake
  • Snake changes direction
  • Snake eats apples
  • Game over if snake eats itself

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published