Tetris in a single file of TypeScript
Little speed coding exercise and timelapse video
Hey! Yesterday I wrote a Tetris game in TypeScript in 5 hours. I recorded the entire process, so you can watch it in a timelapse video :)
Also, below is the source code of the game for you to analyse or modify.
This post was originally published on Dev.to