Skip to content

urrickhunt/drugwars-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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