
Tech Stack
Description
This project is a classic 4x4 Tile Puzzle Game, a desktop application that challenges users to arrange scrambled numbered tiles into a specific sequential order. It features a custom-built graphical interface designed for a smooth, interactive gaming experience.
The application provides a digital version of the traditional sliding puzzle. The game consists of a 4x4 grid containing 15 numbered tiles and one empty slot. Players move tiles into the empty space to eventually arrange them in numerical order from 1 to 15. Users interact with the game using keyboard inputs, typically arrow keys, to slide tiles into the adjacent empty square.
The interface provides real-time visual updates, redrawing the grid and tiles instantly as moves are made. The system continuously monitors the state of the board and detects when the user has successfully sorted all tiles, signaling the end of the game.
The project is implemented using low-level system programming to create a lightweight and efficient standalone game. The entire game logic and structure are developed using C++, allowing for high performance and direct control over system resources. Rather than using heavy third-party game engines, the project uses a custom-built graphics wrapper with specialized functions for drawing geometric shapes, tiles, and text directly onto the window.
It utilizes a custom console interface module to handle low-level window properties, such as setting the window size and managing the cursor position for precise rendering. The game employs procedural algorithms to initialize the board with a random but solvable configuration and to manage the physics of tile movement. The implementation uses standard C++ headers and system-level libraries to manage the game state and user input efficiently.
- Developed a classic 4x4 tile puzzle game desktop application with custom graphical interface
- Implemented game mechanics with 15 numbered tiles and one empty slot for sliding puzzle gameplay
- Created interactive controls using keyboard inputs for smooth tile movement
- Built real-time visual feedback system redrawing grid and tiles instantly as moves are made
- Designed win condition detection system monitoring board state for successful completion
- Utilized C++ for high-performance game logic and direct system resource control
- Developed custom graphics engine with specialized functions for drawing shapes and text
- Implemented custom console interface module for low-level window management
- Created procedural algorithms for random but solvable board initialization
- Designed efficient memory management using standard C++ libraries for game state handling
Page Info
Game Interface
Custom-built graphical interface with 4x4 grid containing 15 numbered tiles and one empty slot

Game Mechanics
Interactive tile sliding mechanics using keyboard inputs to arrange tiles in numerical order

Win Detection
System continuously monitors board state and detects when all tiles are successfully sorted
