Skip to content

VitthalGund/Dino-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Chrome Dino Game Clone

Chrome Dino Game Clone

Welcome to the Chrome Dino Game Clone, a fun C++ project that recreates the classic Chrome browser dinosaur game. This game provides an exciting and interactive experience where you control a character to jump over obstacles and earn points. Read on to learn how to play and understand the code behind it.

Table of Contents

About

This project is a clone of the famous Chrome browser dinosaur game. It was developed using C++ and provides a similar gaming experience to the original.

How to Play

To play the Chrome Dino Game Clone, follow these simple instructions:

  1. Run the game in a big and clear terminal.

  2. Use the following control keys:

    • Space: Jump over obstacles.
    • X: Exit the game.

Code Overview

The game's code utilizes various C++ libraries and functions to create an interactive gaming experience. It includes features like character animation, obstacle generation, and scoring.

Here's a brief overview of some key code components:

  • gotoxy(int x, int y): Positions the cursor at the specified (x, y) coordinate.
  • delay(unsigned int mseconds): Adds a delay to control the game's speed.
  • getup(): Displays game instructions and the current score.
  • ds(int jump = 0): Handles character animation and jumping.
  • obj(): Manages obstacle generation and movement.
  • The game loop in main() allows for continuous gameplay and interaction.

Features

  • Responsive and Interactive: The game runs in a clear terminal and responds to player actions in real-time.

  • Scoring System: Keep track of your score as you jump over obstacles.

Improvements

This Chrome Dino Game Clone offers a great experience, but there's always room for improvement. Here are some ideas for enhancements:

  • High Score: Implement a high-score system to encourage competition among players.

  • Obstacle Variety: Add different types of obstacles to increase gameplay complexity.

  • Sound Effects: Incorporate sound effects for a more immersive experience.

License

This project is open-source and available under the MIT License. See the LICENSE file for details.

Enjoy playing the Chrome Dino Game Clone and feel free to contribute to its development or customize it to your liking!

About

This is the dino game with i created using c++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages