Skip to content

A python remake of the famous T-Rex game from Google chrome

License

Notifications You must be signed in to change notification settings

ShubhAgarwal566/Chrome-T-Rex-Rush

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T-Rex Rush

The base code for this repo is written by: Shivam Shekhar https://github.com/shivamshekhar/Chrome-T-Rex-Rush.git

New Feature:

Instead of controlling the T-Rex with keyboard. The controls are now shifted to webcam. The game tracks the position of your nose so when you look up, the T-Rex jumps; and when you look down, it ducks.

Technology:

Game is built in Pygame Library Nose Tracking is done using opencv and dlib

Target Platforms:

Linux

Prerequisites:

  • pygame - pip install pygame
  • dlib - pip install dlib
  • cv2 - pip install opencv-python

Instructions:

To run this game:

  • Run main.py

Controls:

  • START - SPACE
  • EXIT - ESC
  • JUMP - look up
  • DUCK - look down

Edited by:

Shubh Agarwal
Email: shubhagarwal566@gmail.com

About

A python remake of the famous T-Rex game from Google chrome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%