Skip to content

BlueSpaceTeam/snake-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake-ts

standard-readme compliant

For personal study, @swancai and I completed a snake game written only in Typescript.

Table of Contents

Usage

  1. Open https://bluespaceteam.github.io/snake-ts/dist/, it starts as soon as the page loads.
  2. Use the arrow keys to control/accelerate the moving direction of the snake.
  3. After the game is over, press Enter/Space to restart the game, and press Esc to cancel the popup.
  4. The default width of the game is 320px and the height is 320px, and the game is upgraded by 1 level every 10 minutes, up to 10 levels. Can be set in constant.ts.

Maintainers

@FantiGA @swancai

Contributing

@swancai

License

MIT © 2022 - Present @BlueSpaceTeam