Skip to content

Latest commit

 

History

History
87 lines (66 loc) · 2.92 KB

README.md

File metadata and controls

87 lines (66 loc) · 2.92 KB

Dino

This project reimplements the Google Chrome Dino Game. It is based on LovyanGFX driver and further will be migrated to ESP32-S3 board. You can now run the game on Linux platform using SDL2 simulator. If you want to run the game on Windows, please check branch win and follow the guidance to do cross compile.

Dino can get special skills if you help it reach high scores!

Dino Game Demo

dino game

Dino Game

  • Quick Drop: If Dino gets 1000 scores, it can obtain the ability to quick drop from the air. (↓)
  • Double Jump: If Dino gets 2500 scores, it can obtain the ability to make another jump in the air. (↑)

You can use arrow key ↑ to jump, ↓ to bend over. → will be used to restart game if Dino has dead.

Dino Game: On day

dino game cactus day dino game bird day dino game over day
Cactus Bird Dino Game Over

Dino Game: On night

dino game cactus night dino game bird night dino game over night
Cactus Bird Dino Game Over

This project use some materials from AquaCoder0010/Dino-Game-SFML.

Prerequisite

  • Ubuntu 20.04 or higher
  • CMake
  • Clang or GNU build toolchain
  • SDL2
sudo apt-get update
sudo apt-get install -y build-essential libsdl2-dev

Usage

git clone https://github.com/HangX-Ma/dino.git
cd dino && git submodule update --init --recursive
cmake -B build
cmake --build build -j$(nproc)
# run the game!
./build/dino

Third Party Library and Tools

License

MIT License