dodanie draftów ui

This commit is contained in:
2026-03-06 10:08:31 +01:00
parent 17e00610a7
commit e98f1ddc24
6 changed files with 217 additions and 2 deletions
+1 -2
View File
@@ -33,7 +33,7 @@
rustc = rustToolchain;
};
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
cargoToml = fromTOML (builtins.readFile ./Cargo.toml);
packageVersion = cargoToml.package.version;
in {
packages.${system} = {
@@ -56,7 +56,6 @@
shellHook = ''
echo "War in Tunnels v${packageVersion}"
echo "[you can list your other dependencies here]"
echo ""
echo "Commands:"
echo " nix build - Build production version"
+42
View File
@@ -0,0 +1,42 @@
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││War in Tunnels ││
││Wood: xxx (+x) | Iron: xxx (+x) | Supply limit: xx/99 | Skill Points: x (xxx/120) | Perk Deck: x (x/9)││
││ ││
│├─[Map]────────────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ 01234567890123456789012345678901234567890123456789 ││
││ 1 ││
││ 2 ││
││ 3 ││
││ 4 ││
││ 5 ││
││ 6 ││
││ 7 ││
││ 8 ││
││ 9 ││
││ 0 ││
││ 1 25x50 ││
││ 2 ││
││ 3 ││
││ 4 ││
││ 5 ││
││ 6 ││
││ 7 ││
││ 8 ││
││ 9 ││
││ 0 ││
││ 1 ││
││ 2 ││
││ 3 ││
││ 4 ││
││ ││
│├─[Keybindings]────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ W/S/A/D - Movement(Select) ││
││ Space - Select Tiles ││
││ Enter - Tile info ││
││ Tab - Toggle view (map,skills) ││
││ q - Quit ││
│└──────────────────────────────────────────────────────────────────────────────────────────────────────┘│
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
+48
View File
@@ -0,0 +1,48 @@
Ant (rozbudowa bazy)
Mole (kopanie tuneli)
Scorpion (walka z przeciwnikiem)
Trapdoor (infiltracja wrogich tuneli)
Bombardier (wysadzanie / materiały wybuchowe)
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││War in Tunnels ││
││Wood: xxx (+x) | Iron: xxx (+x) | Supply limit: xx/99 | Skill Points: x (xxx/120) | Perk Deck: x (x/9)││
││ ││
│├─[Skills]─────────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ ┌─────┬──────┬──────────┬──────────┬────────────┐ ┌─[A]──────────────────────────────────┐ ││
││ │ Ant │ Mole │ Scorpion │ Trapdoor │ Bombardier │ │ │ ││
││ │ └──────┴──────────┴──────────┴────────────┴────────┐ │ Basic (+): │ ││
││ │ │ │ │ ││
││ │ 18 ┌─────┐ │ ┌─────┐ │ ┌─────┐ │ │ ---------------------------------- │ ││
││ │ │ │ │ │ │ │ │ │ │ │ ---------------------------------- │ ││
││ │ │ F │ │ │ L │ │ │ R │ │ │ ---------------------------------- │ ││
││ │ │ │ │ │ │ │ │ │ │ │ ---------------------------------- │ ││
││ │ └─────┘ │ └─────┘ │ └─────┘ │ │ ---------------------------------- │ ││
││ │ 10 ┌─────┐ ┌─────┐ │ ┌─────┐ ┌─────┐ │ ┌─────┐ ┌─────┐ │ │ │ ││
││ │ │ │ │ │ │ │ │ │ │ │ │+ │ │ │ │ │ Aced (*): │ ││
││ │ │ D │ │ E │ │ │ J │ │ K │ │ │ P │ │ Q │ │ │ │ ││
││ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ---------------------------------- │ ││
││ │ └─────┘ └─────┘ │ └─────┘ └─────┘ │ └─────┘ └─────┘ │ │ ---------------------------------- │ ││
││ │ 4 ┌─────┐ ┌─────┐ │ ┌─────┐ ┌─────┐ │ ┌─────┐ ┌─────┐ │ │ ---------------------------------- │ ││
││ │ │ │ │ │ │ │* │ │* │ │ │+ │ │ │ │ │ ---------------------------------- │ ││
││ │ │ B │ │ C │ │ │ H │ │ I │ │ │ N │ │ O │ │ │ ---------------------------------- │ ││
││ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ││
││ │ └─────┘ └─────┘ │ └─────┘ └─────┘ │ └─────┘ └─────┘ │ │ Notes: │ ││
││ │ 1 ┌─────┐ │ ┌─────┐ │ ┌─────┐ │ │ │ ││
││ │ │ │ │ │+ │ │ │+ │ │ │ ---------------------------------- │ ││
││ │ │ A │ │ │ G │ │ │ M │ │ │ ---------------------------------- │ ││
││ │ │ ^ │ │ │ │ │ │ │ │ │ ---------------------------------- │ ││
││ │ └─────┘ │ └─────┘ │ └─────┘ │ │ ---------------------------------- │ ││
││ │ Miner 69'er Mother Lode Pack Mule │ │ ---------------------------------- │ ││
││ └────────────────────────────────────────────────────────┘ └──────────────────────────────────────┘ ││
│├─[Keybindings]────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ Shift + ◄/► - Change skills group ││
││ ◄/►/▲/▼ - Select skill ││
││ Ctrl + ▲/▼ - Upgrade/Downgrade skill ││
││ Tab - Toggle view (map,skills) ││
││ q - Quit ││
│└──────────────────────────────────────────────────────────────────────────────────────────────────────┘│
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
+42
View File
@@ -0,0 +1,42 @@
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││ ││
││ ││
││ ││
││ ││
││ ││
││ __ __ _ _____ _ ││
││ / / /\ \ \__ _ _ __ (_)_ __ /__ \_ _ _ __ _ __ ___| |___ ││
││ \ \/ \/ / _` | '__| | | '_ \ / /\/ | | | '_ \| '_ \ / _ \ / __| ││
││ \ /\ / (_| | | | | | | | / / | |_| | | | | | | | __/ \__ \ ││
││ \/ \/ \__,_|_| |_|_| |_| \/ \__,_|_| |_|_| |_|\___|_|___/ ││
││ ││
││ ││
││ ││
││ ││
││ > Skirmish ││
││ ││
││ Multiplayer (someday) ││
││ ││
││ Settings ││
││ ││
││ Perk Decks ││
││ ││
││ Tutorial (YouTube Video) ││
││ ││
││ Quit ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
││ ││
│├─[Keybindings]────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ ▲/▼ - Movement ││
││ Space/Enter - select ││
││ q - quit ││
│└──────────────────────────────────────────────────────────────────────────────────────────────────────┘│
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
+42
View File
@@ -0,0 +1,42 @@
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││War in Tunnels ││
││ ││
│├─[Perk Decks]──────────────────────────────────────────────────────────────┬─[Description]────────────┤│
││ │ ││
││ ┌─[Silesian]────────────────────────────────────────────────────────────┐ │ Silesian ││
││ │┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐│ │ ││
││ ││+ │ │+ │ │+ │ │+ │ │ │ │ │ │ │ │ │ │ ││ │ ------------------------ ││
││>││ 1 │ │ 2 │ │ 3 │ │ 4 │ │ 5 │ │ 6 │ │ 7 │ │ 8 │ │ 9 ││ │ ------------------------ ││
││ ││ │ │ │ │ │ │ │ │ ^ │ │ │ │ │ │ │ │ ││ │ ------------------------ ││
││ │└─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘│ │ ------------------------ ││
││ └───────────────────────────────────────────────────────────────────────┘ │ ------------------------ ││
││ │ ------------------------ ││
││ ┌─[Equipped: Bogeyman]──────────────────────────────────────────────────┐ │ ││
││ │┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐│ │ ││
││ ││+ │ │+ │ │+ │ │+ │ │+ │ │+ │ │+ │ │+ │ │+ ││ │ 5: ││
││ ││ 1 │ │ 2 │ │ 3 │ │ 4 │ │ 5 │ │ 6 │ │ 7 │ │ 8 │ │ 9 ││ │ ││
││ ││ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ││ │ + ....... ││
││ │└─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘│ │ + ....... ││
││ └───────────────────────────────────────────────────────────────────────┘ │ + ....... ││
││ │ ││
││ ┌─[Anteater]────────────────────────────────────────────────────────────┐ │ ││
││ │┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐ ┌─────┐│ │ ││
││ ││+ │ │+ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ││ │ ││
││ ││ 1 │ │ 2 │ │ 3 │ │ 4 │ │ 5 │ │ 6 │ │ 7 │ │ 8 │ │ 9 ││ │ ││
││ ││ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ││ │ ││
││ │└─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘ └─────┘│ │ ││
││ └───────────────────────────────────────────────────────────────────────┘ │ ││
││ │ ││
││ ... │ ││
││ │ ││
│├─[Keybindings]─────────────────────────────────────────────────────────────┴──────────────────────────┤│
││ ││
││ ▲/▼ - Choose Perk Deck ││
││ ◄/► - Select Card ││
││ Enter - Equip Perk Deck ││
││ Space - Unlock Selected Card ││
││ Esc - go back ││
││ q - quit ││
│└──────────────────────────────────────────────────────────────────────────────────────────────────────┘│
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
+42
View File
@@ -0,0 +1,42 @@
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐│
││War in Tunnels ││
││ ││
││The preferred method for changing settings is to specify your changes as CLI arguments. ││
││For more information, see --help. ││
││ ││
│├─[Settings]───────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ Game Mode: LastManStanding | FrontLines ││
││ ││
││ Map Width: 50 (min 20) ││
││ ││
││ Map Height: 25 (min 5) ││
││ ││
││ > Username: Player ││
││ ││
││ Perk Deck: a | b | c | d | ... ││
││ ││
││ Starting Wood: 50 ││
││ ││
││ Starting Iron: 25 ││
││ ││
││ Supply Limit: 99 ││
││ ││
││ XP modifier: 1.0 ││
││ ││
││ Skill points limit: 120 (max 690) ││
││ ││
││ ... ││
│├─[Username]───────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ New value: ... ││
││ ││
│├─[Keybindings]────────────────────────────────────────────────────────────────────────────────────────┤│
││ ││
││ ▲/▼ - movement ││
││ Space/Enter - select ││
││ Esc - go back ││
││ q - quit ││
│└──────────────────────────────────────────────────────────────────────────────────────────────────────┘│
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘