Skip to content

chemicoholic21/T-Rex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T-Rex

Chrome t-rex game in C++ and Python.

C++ Version

A console-based T-Rex game written in C++.

Features

  • Jumping logic with spacebar.
  • Score tracking.
  • Flicker-reduced rendering.

How to Play

Option 1: One-Click (Windows)

If you have cloned the repo, simply run:

.\run.bat

This script will automatically detect your environment (C++ or Python) and start the game.

Option 2: Download Ready-to-Play (No Setup)

  1. Go to the Actions tab of this GitHub repository.
  2. Click on the latest successful "Continuous Build" workflow run.
  3. Scroll down to Artifacts and download t-rex-windows-game.
  4. Extract and run t-rex.exe.

Option 3: Manual Build

g++ t-rex.cpp -o t-rex.exe
.\t-rex.exe

Logic

  • O: Dinosaur
  • X: Cactus
  • -: Ground
  • Space: Jump

About

Chrome t-rex game in c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors