Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Drugwars in Rust 🦀
https://github.com/urrickhunt/drugwars-rust

drugwars ish ish-app linux macos rust rust-lang terminal terminal-game text-game windows

Last synced: 13 days ago
JSON representation

Drugwars in Rust 🦀

Awesome Lists containing this project

README

        

### 40th Anniversary Drugwars in Rust 🦀

![drugs](https://github.com/user-attachments/assets/a646b12e-1aed-4d20-8107-9206f72d0411)

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](https://github.com/user-attachments/assets/225ca1da-c7bc-47ff-8fab-1aca4e394134)

### Local High Scores Added

![high](https://github.com/user-attachments/assets/32dae56d-e06b-4ce1-b089-979301d24068)