Skip to content

A simple C++ console game inspired by Chrome Dino, featuring real-time gameplay, scoring, and pause/resume functionality.

Notifications You must be signed in to change notification settings

Adeeba-Shahzadi/DinoRun-Game-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DinoRun-Game-Cpp

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.


๐Ÿ“Œ Overview

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.


๐ŸŽฎ How to Play

  • 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.


๐Ÿง  Features

  • Console-based UI using ASCII characters
  • Real-time jump mechanics
  • Pause and resume functionality
  • Score display and update
  • Game over detection and restart option

๐Ÿ›  Requirements

  • Windows OS (required for windows.h and conio.h)
  • A C++ compiler like g++, MinGW, or Visual Studio
  • Console that supports SetConsoleCursorPosition

About

A simple C++ console game inspired by Chrome Dino, featuring real-time gameplay, scoring, and pause/resume functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages