#game #terminal #drugwars

app drugwars-rust

Classic Drugwars game in Rust 🦀

2 releases

new 0.7.0 Oct 22, 2024
0.6.11 Oct 23, 2024
0.6.10 Oct 22, 2024
0.6.9 Oct 21, 2024
0.6.9-c Oct 22, 2024

#55 in Games

Download history 463/week @ 2024-10-17

469 downloads per month

MIT license

45KB
1K SLoC

40th Anniversary Drugwars in Rust 🦀

drugwars

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

GM

Dependencies

~3.5MB
~59K SLoC