Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🦀
- Host: GitHub
- URL: https://github.com/urrickhunt/drugwars-rust
- Owner: urrickhunt
- License: mit
- Created: 2024-10-20T22:00:15.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2024-10-25T21:13:42.000Z (20 days ago)
- Last Synced: 2024-10-26T21:37:13.621Z (19 days ago)
- Topics: drugwars, ish, ish-app, linux, macos, rust, rust-lang, terminal, terminal-game, text-game, windows
- Language: Rust
- Homepage:
- Size: 109 KB
- Stars: 43
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)