A minimal incremental / idle terminal game about compiling stuff.
Start compiling to earn credits, invest them in system upgrades and perks, compile faster, earn more, and repeat!
Run incrust to start the game.
Then type help to see the list of available commands and guide to see the game guide.
See the quick video demo below:
Disclaimer: This video demo should give a general idea of how the game works but note that some parts may have changed over time since it was made.
incrust.mp4
genact(optional) - For compilation animations
A (statically linked) pre-compiled binary for the x86_64 (amd64) architecture is distributed as a release asset (incrust-<release_version>-x86_64).
The pre-compiled binary can be reproduced from source (in the sense of reproducible builds).
The build environment is created and fully documented via repro-env, and is tracked in this repository.
To reproduce the pre-compiled binary for a given release, install repro-env and run the following:
git clone https://github.com/Antiz96/incrust.git
cd incrust
git checkout <tag> # Where <tag> is the git tag for the targeted release, e.g. "v1.0.0"
repro-env build -- cargo build --release --target x86_64-unknown-linux-musl
sha256sum target/x86_64-unknown-linux-musl/release/incrustThen, compare the sha256 hash of the built binary to the one of the pre-compiled release binary (which is also recorded in the incrust-<release_version>-x86_64.sha256 file in the release assets). Both hashes should be equal, indicating that the binary has been successfully reproduced.
Each release assets are also cryptographically signed, with the detached signature for each asset distributed as <asset_name>.asc (see the MAINTAINERS.md file for a list of keys expected to emit signatures).
git clone https://github.com/Antiz96/incrust.git
cd incrust
cargo build --releaseThe built binary will be located at ./target/release/incrust, place it somewhere in your $PATH.
The man page can be generated with scdoc:
scdoc < doc/man/incrust.1.scd > doc/man/incrust.1There are also shell completions available in the res/completions/ directory.
Run incrust to start the game.
Then type help to see the list of available commands and guide to see the game guide (displayed below).
Start compiling stuff by running the 'compile' command.
You'll earn credits for each completed (and successful) compilation.
Compilations have a small chance to fail upon completion, in which case
you won't get rewarded with credits for it.
Ongoing compilation can be interrupted by pressing Ctrl+C, but note that
you won't get any credit for it either.
Spend credits to upgrade your system resources and buy different perks by running
the 'upgrade' command:
- Buying CPU cores speeds up compile time
but also slightly increases chances of compilation failures
- Buying RAM increases the credit reward per completed (and successful) compilation
but also slightly increases the compile time
- Buying Disk space reduces chances of compilation failures
but also slightly reduces the credit reward per completed (and successful) compilation
- Other bonuses can be acquired through different one-time purchase perks, you can see
the list of perks (and their descriptions) from the 'upgrade' command menu
Unlocked perks can be enabled or disabled by running the 'manage' command.
You can check the current status of your resources and perks by running the 'status' command.
Progression is automatically saved and resumed between game sessions.
See also incrust --help and the incrust(1) man page.
See the contributing guidelines.
Incrust is licensed under the GPL-3.0 license (or any later version of that license).