#game #terminal #drugwars

app drugwars-rust

Classic Drugwars game in Rust 🦀

4 releases

0.7.0 Oct 22, 2024
0.6.15 Oct 25, 2024

#75 in Games

MIT license

49KB
1.5K SLoC

40th Anniversary Drugwars in Rust 🦀

drugs

Drugwars, the classic text-based game, is back & rewritten in Rust for its 40th Anniversary.

This cross-platform version stays true to the original experience, featuring familiar gameplay & updated terminal compatibility.

Single Key Commands like the original ensure smooth gameplay with quick input handling.

Installation

cargo install drugwars-rust

Building

git clone https://github.com/urrickhunt/drugwars-rust

  • normal release

cargo build --release

  • lto release

cargo build --profile release-lto

  • normal install

cargo install --path .

  • lto install

cargo install --path . --profile release-lto

  • run

drugwars-rust

  • run on git bash mintty

winpty drugwars-rust

Mofo

Local High Scores Added

high

Dependencies

~3.5MB
~59K SLoC