strategem-hero

Crates.iostrategem-hero
lib.rsstrategem-hero
version0.8.1
sourcesrc
created_at2024-05-05 11:59:49.960898
updated_at2024-10-20 08:17:15.227421
descriptionSimple CLI Game following Strategem Hero mini-game from Helldivers 2
homepagehttps://github.com/Milinkov-N/strategem-hero
repositoryhttps://github.com/Milinkov-N/strategem-hero
max_upload_size
id1230185
size4,045,790
Milinkov Nikita (Milinkov-N)

documentation

README

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.

Demo GIF

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

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.

Commit count: 106

cargo fmt