T-Rex About: A simple Python script that auto-plays the Chrome's T-Rex game. Dependencies: numpy pyautogui Open the T-Rex game in your browser. Run the T-Rex.py file. Please note that this code was written while keeping macOS High Sierra in mind, you would want to make certain changes to run it in your system.