11 releases (4 breaking)
0.8.1 | Oct 20, 2024 |
---|---|
0.8.0 | Oct 19, 2024 |
0.7.4 | Sep 8, 2024 |
0.7.2 | Jul 6, 2024 |
0.4.0 | May 5, 2024 |
#35 in Games
357 downloads per month
3.5MB
2K
SLoC
Strategem Hero - CLI Game
This is simple cli game written in Rust, copying (actually just loosely following) Strategem Hero mini-game in Helldivers 2 that available with deluxe edition of the game.
Main features
- Includes all in-game strategems as of June 8th (63 total)
- Chain of successfull strategem inputs gives a multiplier to the score
- Strategems are divided into three different levels:
- Easy - up to 3 inputs
- Medium - from 4 to 6 inputs
- Hard - from 7 and above inputs
- Each level of strategems gives different score
- Tracking of best score between launches
- Upgrade system
- Subcommands to:
- Print leaderboard:
strategem-hero leaderboard
- Delete all game files:
strategem-hero delete-data
- Print leaderboard:
How to play
You can install this game via cargo install strategem-hero
command or download precompiled binary included in latest release (for Windows only).
Alternatively you can build this game from source, following next steps:
# clone repo from GitHub
git clone https://github.com/Milinkov-N/strategem-hero.git
# Go to the project directory
cd strategem-hero
# run the game in release mode
cargo run --release
# or run this command if you just need to build the binary
cargo build --release
Game Files
Game files location follows as is:
- Windows:
C:\Users\<User>\AppData\Roaming\strategem-hero
- MacOS:
$HOME/Library/Application Support/strategem-hero
- Linux:
$HOME/.local/share/strategem-hero
And for each minor or major version there is different folder to not corrupt your save files.
Note:
strategem-hero delete-data
command deletes whole game folder. If you delete data through game interface, its only affects game files.
Contribution
If you find bug or some possible improvement in code, please, open an Issue! And if you know possible solution, pull request will be greatly appriciated.
Dependencies
~1.6–7MB
~52K SLoC