#cli-game #input #level #score #hero #following #strategem

app strategem-hero

Simple CLI Game following Strategem Hero mini-game from Helldivers 2

7 unstable releases (3 breaking)

0.7.2 Jul 6, 2024
0.7.1 Jul 5, 2024
0.6.0 Jun 11, 2024
0.5.1 Jun 8, 2024
0.4.0 May 5, 2024

#22 in Games

Download history 92/week @ 2024-04-29 39/week @ 2024-05-06 6/week @ 2024-05-20 283/week @ 2024-06-03 153/week @ 2024-06-10 10/week @ 2024-06-17 357/week @ 2024-07-01 29/week @ 2024-07-08

405 downloads per month

MIT license

260KB
1.5K 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.

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.

Dependencies

~30MB
~481K SLoC