Back to projects

Game Dev

Tetris

A full browser Tetris implementation with speed progression, next piece preview, ghost piece, hard drop and high-score storage.

Web Tetris game interface

Context

Solo mini game added to the platform to work through the classic rules of a real-time puzzle game.

Role

Built the grid, rotations, line detection, scoring and user profile integration.

Stack

JavaScriptDenoTypeScriptJWT

Architecture

Client-side JavaScript game engine, local grid state, DOM/CSS rendering and persistence through Deno routes.

Key features

  • Progressive speed up to level 20.
  • Piece preview, ghost piece and hard drop.
  • Score saved and attached to the user profile.

Learnings

  • Model a reliable grid and piece rotation system.
  • Handle collisions and piece states without side effects.
  • Use visual helpers to make the game feel smoother.