The Chrome Dino game in the terminal, written in Rust. Due to budget cuts and my lack of ASCII art skills, the dinosaur became a stick figure instead.
This was created using the crossterm library to manipulate the terminal's inputs and outputs and the rand library for generating obstacle heights.
The game requires your terminal window to have a minimum height of 10 lines and a width of 20 characters. Otherwise, Rust will panic.
- Install Rust.
- Run
cargo install terminal-dino. - Run
terminal-dino.
Use Space/w/Up to jump, p to pause, and Esc/q to exit.
- Install Rust.
- Clone the repository.
- Run
cargo run.