strategem-hero 0.7.4

Simple CLI Game following Strategem Hero mini-game from Helldivers 2
strategem-hero-0.7.4 is not a library.

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
  • 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

As of now in version 0.7.* the only game file is sqlite database located in folders as follows:

  • 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 (mostly for me to not worry about database migrations).

Note: strategem-hero delete-data command deletes whole game folder.

Contribution

If you find bug or some possible impovement in code, please, open an Issue! And if you know possible solution, pull request will be greatly appriciated.