Term-Rex: Dino Runner Game but in terminal


A terminal-based dinosaur runner game inspired by the Chrome offline game, implemented in Golang using the termbox-go library.

Installation
macOS / Linux
# Install with Homebrew
brew install jianongHe/tap/term-rexm
# Start Play
term-rex
Npm
# Install with Npm
npm -g term-rex
# Start Play
term-rex
Windows
# Install with Scoop
scoop bucket add jianongHe https://github.com/jianongHe/scoop-bucket.git
scoop install term-rex
Direct Download
Download the pre-built binary for your system from the releases page.
Or you can directly clone this repo and go run main.go
Game Controls
| Key |
Action |
| Space / ↑ |
Jump |
| ↓ |
Duck |
| P |
Pause/Resume |
| R |
Restart (after game over) |
| Q / Esc |
Quit |
Uninstallation
Homebrew (macOS and Linux)
brew uninstall term-rex
brew untap jianongHe/tap # Optional: remove the tap repository
Scoop (Windows)
scoop uninstall term-rex
scoop bucket rm jianongHe # Optional: remove the bucket
Contributing
Contributions are welcome! Feel free to submit issues or pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.