A Tetris-style Game Written in Pure x86-64 Assembly
MasterPiece is a fully functional Tetris-style puzzle game written entirely in x86-64 Assembly language. This project demonstrates low-level programming skills, direct system calls, and manual memory management while creating an engaging and playable game experience.
The game features classic Tetris gameplay mechanics including block movement, line clearing, scoring system, and smooth graphics rendering using SDL2 for cross-platform compatibility.
100% x86-64 Assembly (GNU Assembler)
SDL2 Library
SDL2_ttf
Linux x86-64
Every line of game logic, rendering, and event handling written in assembly with direct system calls and manual register management.
Custom stack management, buffer allocation, and manual memory initialization to prevent leaks and undefined behavior.
Complete Tetris implementation with piece movement, rotation, line clearing, collision detection, and score tracking.
Real-time rendering with SDL2, keyboard input handling, and smooth 60 FPS gameplay experience.
Explore the complete assembly source code, build instructions, and technical documentation:
View on GitHub