LavaToaster / tetris

A tetris clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tetris Clone

So I watched a video, 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

npm install -g parcel-bundler

Then bring it up for development:

parcel index.html

TODO

  • Spawn Pieces
  • Move Pieces
  • Rotate Pieces
    • Wall Kick Rotation
  • Spawn piece one it reaches the "bottom"
  • 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)

About

A tetris clone


Languages

Language:TypeScript 92.8%Language:HTML 7.2%