A simple roguelike dungeon crawler built in C using ncurses.
The project demonstrates struct-based design, dynamic memory allocation, and terminal graphics.
Clone the repository:
git clone https://github.com/<your-username>/dungeon-crawler.git
cd dungeon-crawlerCompile with:
makeor (manual build):
gcc -Wall -lncurses main.c -o dungeonRun the game:
./dungeon- W – Move Up
- A – Move Left
- S – Move Down
- D – Move Right
- Q – Quit Game
dungeon-crawler/
│── src/
│ ├── main.c # Game entry + loop
│ ├── player.c # Player logic
│ ├── map.c # Room/dungeon setup
│ ├── game.c # Input handling, updates
│── include/
│ ├── dungeon.h # Structs + function declarations
│── Makefile
│── README.md
(Add screenshots or GIF here)
Contributions are welcome.
Open an issue or submit a pull request with improvements, bug fixes, or new features.
MIT License – feel free to use, modify, and share.