Dino Run is a simple and fun console-based game written in C++, inspired by the classic Chrome Dino game. You play as a dinosaur trying to jump over hurdles. The game features a basic UI, scoring system, pause/resume, and game-over mechanics โ all using standard libraries.
This project is developed using basic C++ with no external libraries or frameworks. It utilizes simple console functions to create a visual effect, allowing players to control a dino character that jumps over obstacles. The game includes key features such as:
- Real-time movement
- Interactive menu
- Scoring system
- Game over detection
- Pause and resume functionality
This project is ideal for beginners learning about:
- Basic game logic
- Use of loops and conditions
- Working with
windows.h,conio.h, and cursor manipulation
It also demonstrates how simple terminal-based games can be fun and educational to build.
- Press Spacebar to jump over hurdles.
- Press P to pause and P again to resume.
- Press ESC to quit the game.
Avoid hitting the hurdles! Each successful pass increases your score.
- Console-based UI using ASCII characters
- Real-time jump mechanics
- Pause and resume functionality
- Score display and update
- Game over detection and restart option
- Windows OS (required for
windows.handconio.h) - A C++ compiler like
g++,MinGW, or Visual Studio - Console that supports
SetConsoleCursorPosition