A standalone Rust/Macroquad build of the Dodge game.
This repository contains the playable native game, its deterministic core, and the small command-line runner used to exercise it. It does not contain the reinforcement-learning code, training adapters, Pemsa runtime, datasets, or internal validation artifacts from the development project.
Install Rust from rustup, then run on a system with X11/OpenGL runtime libraries:
cargo run -p dodge-viewerOn NixOS, the checked-in devenv setup provides the Rust toolchain and native
libraries:
devenv shell -- cargo run -p dodge-viewerUse the arrow keys to move. Press R, X, or Space to retry, Z to use
the alternate button, and Escape to quit.
The original cartridge is kept in assets/dodge.p8 as the build-time source
for the native graphics data. No PICO-8 runtime is required.
Original game by Artridge, also posted on the
Lexaloffle BBS, where the cartridge
is listed under CC BY-NC-SA 4.0. The cartridge (assets/dodge.p8) and its art
belong to Artridge. This repository is an adaptation of that work: the game
logic is ported from the cartridge to Rust, and tooling is added around it.
This repository is licensed under CC BY-NC-SA 4.0; see LICENSE. It follows the license of the original cartridge: you may share and adapt it with attribution, not for commercial purposes, and under the same license.
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace