An open API service indexing awesome lists of open source software.

https://github.com/gutenfries/dino_rs

Chrome Dino Game written in rust
https://github.com/gutenfries/dino_rs

chrome dino game rust

Last synced: about 2 months ago
JSON representation

Chrome Dino Game written in rust

Awesome Lists containing this project

README

          

# Dino_rs

A simple implementation of the Google Chrome Dino game in Rust.

The graphics/game engine is written using [bracket-lib](https://github.com/thebracket/bracket-lib), which is the only dependency.

```toml
[dependencies]
bracket-lib = "0.8.1"
```

Including all whitespace, the project is only 250 LOC.

## Running

```bash
cargo run --release
```

## Controls

- `P` _or_ `Space` to play & replay the game
- `Space` _or_ `Up` to jump
- `P` to pause & unpause (While in game mode)
- `Esc`, `Q`, _or_ `C` to quit

## Screenshots

### Main Menu

![Main Menu](./docs/Screenshot%202022-10-16%20145922.png)

### Game Play

![Game Play](./docs/Screenshot%202022-10-16%20150052.png)