Add comprehensive CLI options for game settings

- Expanded `Cli` with arguments for username, game mode, map size, perk
  deck, resources, supply limit, XP modifier, and skill points limit.
- Enabled the `cli` module in `lib.rs` and activated argument parsing in
  `main.rs`.
- Added placeholder (commented) fields to `App` for future configuration
  integration.
This commit is contained in:
2026-03-09 16:54:10 +01:00
parent e98f1ddc24
commit a9b84bbe0f
5 changed files with 49 additions and 11 deletions
+1 -7
View File
@@ -1,9 +1,3 @@
Ant (rozbudowa bazy)
Mole (kopanie tuneli)
Scorpion (walka z przeciwnikiem)
Trapdoor (infiltracja wrogich tuneli)
Bombardier (wysadzanie / materiały wybuchowe)
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││War in Tunnels ││
@@ -13,7 +7,7 @@ Bombardier (wysadzanie / materiały wybuchowe)
││ ││
││ ┌─────┬──────┬──────────┬──────────┬────────────┐ ┌─[A]──────────────────────────────────┐ ││
││ │ Ant │ Mole │ Scorpion │ Trapdoor │ Bombardier │ │ │ ││
││ │ └──────┴──────────┴──────────┴────────────┴────────┐ │ Basic (+): │ ││
││ ├─────┘ └──────────┴──────────┴────────────┴────────┐ │ Basic (+): │ ││
││ │ │ │ │ ││
││ │ 18 ┌─────┐ │ ┌─────┐ │ ┌─────┐ │ │ ---------------------------------- │ ││
││ │ │ │ │ │ │ │ │ │ │ │ ---------------------------------- │ ││