A Rust implementation of the classic Chrome Dinosaur Game. This project is built with the Bevy game engine and runs on native platforms (Windows, macOS, Linux) and the web (via WebAssembly).
You can play the web version of the game here.
You can download the latest native versions of the game from the releases page.
This project uses an automated release system:
-
Stable Releases: Created automatically when the version in
crates/game/Cargo.tomlis updated and pushed to the main branch. The workflow creates a version tag (e.g.,0.1.0) which triggers builds for all platforms (Linux, Windows, macOS x86_64, macOS ARM64). -
Nightly Releases: Created automatically on weekdays (Monday-Friday) via scheduled workflow. Tagged with the format
nightly-YYYY-MM-DD.
To create a new stable release:
- Update the version number in
crates/game/Cargo.toml - Commit and push to the main branch
- The automated workflow will create a tag and trigger the build process
- Binaries will be available on the releases page once builds complete
This project follows the Conventional Commits specification. Commit messages are enforced via a Git hook (using lefthook).
Format: <type>(<optional scope>): <description>
Allowed types:
feat- A new featurefix- A bug fixdocs- Documentation only changesstyle- Changes that do not affect the meaning of the coderefactor- A code change that neither fixes a bug nor adds a featureperf- A code change that improves performancetest- Adding missing tests or correcting existing testsbuild- Changes that affect the build system or dependenciesci- Changes to CI configuration files and scriptschore- Other changes that don't modify src or test filesrevert- Reverts a previous commit
Examples:
feat: add user login feature
fix(auth): resolve token expiration issue
docs: update README with installation instructions
After cloning the repository, install lefthook to enable the commit message validation:
# Install lefthook (if not already installed)
# macOS
brew install lefthook
# or using npm
npm install -g lefthook
# Install the hooks
lefthook install