SnakeTypeScriptCanvasGame loopKeyboard controlsGuide the snake, collect food, and avoid walls or your own body. The implementation keeps live state in refs, runs a fixed canvas loop, and shares keyboard/touch input plumbing with the other games.
TetrisTypeScriptCollision detectionPiece rotationLine clearingRotate and stack tetrominoes on a 12-column board. Built around local shape matrices, collision checks, piece locking, and row compaction so each frame stays deterministic.
ArkanoidTypeScriptCanvasCollision handlingPaddle controlsBreak bricks with a moving paddle and bouncing ball. The canvas renderer combines clamped delta-time movement, paddle-angle bounce math, and lightweight brick collision handling.