Rotate and stack tetrominoes on a tile board, clear full rows, and keep the stack below the spawn area. The implementation keeps board state, shape matrices, collision checks, row clearing, and restart behavior small enough to read as one complete game loop.
Built in TypeScript. Explore more projects on Projects