Welcome to Treasure Hunt Adventure - an exciting console-based game where you navigate through a mysterious grid to find treasures while avoiding deadly traps!
- ๐บ๏ธ Colorful 5x5 grid-based gameplay
- ๐ Search for 3 hidden treasures
- โ ๏ธ Avoid 3 deadly traps
- ๐ Receive clues about nearby treasures and traps
- ๐ฏ Preview movement before committing
- ๐พ Save and load game progress
- ๐ Compete on the leaderboard
- Start the game:
treasureHunt.exe p <your_name> - Use arrow keys to preview your movement
- Press Enter to confirm and move
- Press S to save your game
- Find all 3 treasures to win!
- ๐ฉ
P- Player - ๐จ
T- Treasure - ๐ฅ
X- Trap - ๐ฆ
?- Unexplored area - โฌ
=- Explored path
- View leaderboard:
treasureHunt.exe leaders - Start new game:
treasureHunt.exe p <player_name> - Load saved game:
treasureHunt.exe p <player_name> load <filename> - Show leaderboard first:
treasureHunt.exe p <player_name> leaders
Don't hit the traps! One wrong move and your adventure ends!
- Watch for clues about nearby treasures and traps
- Plan your moves carefully
- Save your game before attempting risky moves
This game is written in C and utilizes:
- ANSI color codes for vibrant display
- Console manipulation for smooth UI
- Binary file I/O for game saving/loading
- Input handling for responsive controls
The source code (treasureHunt.c) includes comprehensive comments and is well-structured for educational purposes (in turkish language)
Created by malidev as a university programming assignment