A simple sliding puzzle (15-puzzle / N×N puzzle) implemented as a C# console application using .NET and a small game engine abstraction.
Status: Archived – this project is not under active development and will not receive updates or new features.
- N×N sliding puzzle board rendered in the console.
- Keyboard controls using arrow keys and Space to slide tiles.
- Highlighting of the empty tile and currently selected tile.
- Basic win detection when the board matches the solved configuration.
- C#
- .NET (console application)
The project is intentionally small and self-contained, aimed at learning and experimentation rather than being a production-ready library.
- Ensure you have the .NET SDK installed.
- Clone the repository.
- From the repository root, run: 'dotnet run'
By default, the game initializes a square board (for example 5×5) and starts the render loop in the console.
- Use the arrow keys to move the selection cursor around the board.
- Press Space to swap the selected tile with the empty tile (if the move is valid).
- The goal is to arrange the tiles into the solved order (1..N²−1) with the empty tile (0) in the last position.
This repository is provided “as is” for reference and learning.
It is not actively maintained and is not expected to be updated with new features, refactors, or bug fixes in the future.
Contributions are not expected or requested for this archived project.
Pull requests and issues may not be reviewed or merged.
If you want to extend or modernize the code, feel free to fork the repository and evolve your own version.
If you intend to share this code publicly, consider adding a license file (for example MIT) to clarify usage permissions.
You are free to adapt this project structure and code for your own learning or personal projects.