https://github.com/foxbunny/tetris
https://github.com/foxbunny/tetris
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/foxbunny/tetris
- Owner: foxbunny
- Created: 2018-11-12T00:33:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-12T14:38:45.000Z (over 6 years ago)
- Last Synced: 2025-01-26T01:32:45.869Z (5 months ago)
- Language: JavaScript
- Size: 122 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testris game
Simple tetris game using canvas and some good old-fasioned OOP.
## How to start
Clone the repository and run:
```
yarn
yarn start
```## How to play
- `left` - move left
- `right` - move right
- `up` - rotate
- `down` - move down
- `space` - drop immediately
- `q` - rotate left
- `e` - rotate right (same as `up`)
- `w` - drop immediately
- `p` - pause