Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.23 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.23 KB

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