https://github.com/lavatoaster/tetris
A tetris clone
https://github.com/lavatoaster/tetris
Last synced: about 1 year ago
JSON representation
A tetris clone
- Host: GitHub
- URL: https://github.com/lavatoaster/tetris
- Owner: LavaToaster
- Created: 2020-07-26T22:28:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-27T01:41:06.000Z (almost 6 years ago)
- Last Synced: 2025-02-07T09:43:26.709Z (over 1 year ago)
- Language: TypeScript
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tetris Clone
So I watched a [video](https://www.youtube.com/watch?v=QOJfyp0KMmM), and felt the need to go build something. This isn't done, it isn't for use for anyone but me, and I'm having fun :D
### Running
I'm using the parceljs for developing this so install it
```bash
npm install -g parcel-bundler
```
Then bring it up for development:
```
parcel index.html
```
### TODO
- [x] Spawn Pieces
- [x] Move Pieces
- [ ] Rotate Pieces
- [ ] Wall Kick Rotation
- [x] Spawn piece one it reaches the "bottom"
- [x] Spawn piece outside of game area so that it naturally uses object collision
- [ ] Line clearing
- [ ] Hold piece
- [ ] Score system
- [ ] Replay system
- Once I've worked out what the hell I'm doing it should be fairly trivial
to convert what I have into an event sourced system, where I can store
the commands, and time travel in state. (redux should be a good solution for this)