From b9a8a4d79c9828c2f8cce02c8e5a3be5f8e03914 Mon Sep 17 00:00:00 2001
From: Alexander Johannes Dietrich <alexander.dietrich@student.tugraz.at>
Date: Tue, 21 May 2024 14:41:21 +0200
Subject: [PATCH] TC 43

---
 testcases/test.toml          |   11 +
 testcases/tests/43/input.txt |  105 +++
 testcases/tests/43/io.txt    | 1691 ++++++++++++++++++++++++++++++++++
 3 files changed, 1807 insertions(+)
 create mode 100644 testcases/tests/43/input.txt
 create mode 100644 testcases/tests/43/io.txt

diff --git a/testcases/test.toml b/testcases/test.toml
index 2a5d201..c1954a2 100644
--- a/testcases/test.toml
+++ b/testcases/test.toml
@@ -454,3 +454,14 @@ exp_exit_code = 0
 argv = ["configs/dungeon_config_42.txt", "configs/story_config.txt"]
 protected = false
 env_vars = ['RAND_SEED=1234']
+
+[[testcases]]
+name = "died in game"
+description = ""
+type = "OrdIO"
+io_file = "tests/43/io.txt"
+io_prompt = "s*>\\s*$"
+exp_exit_code = 0
+argv = ["configs/dungeon_config_11.txt", "configs/story_config.txt"]
+protected = false
+env_vars = ['RAND_SEED=1234']
diff --git a/testcases/tests/43/input.txt b/testcases/tests/43/input.txt
new file mode 100644
index 0000000..9de2d55
--- /dev/null
+++ b/testcases/tests/43/input.txt
@@ -0,0 +1,105 @@
+0
+-1
+45555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555583
+d
+3
+franzi
+ö
+w
+frizzi
+W
+b
+ranzi
+r
+use r fdgdfgdsfgdfg
+attack r 3,2
+attack r 3,2
+attak
+attack r 3,2
+attack r 3,1
+attt
+attack r 3,1
+a
+loot 2
+loot r 2,3
+loot r 3,2
+loot r 3,1
+move r 3,2
+attack r 2,2
+attack r 2,2
+attack r 2,2
+loot
+move r 3
+mve
+move r 2,3
+move r 1,3
+attack r 3,2
+attack r 3
+attack r 4,2
+attack r 4,2
+attack r 3
+attack r 4,2
+attack
+move r 3,3
+move r 4,3
+move r 3,3
+attack r 2,2
+attack rr
+atr
+attack r 2,2
+attack r 2,2
+loot 2,2
+loot r 2,2
+loot r 4,2
+move r 4,3
+moce
+move r 5,3
+move r 5,
+move r 6,3
+move r 2,4
+move r 2,3
+loot 2,
+loot r 2,2
+move r 3,1
+move r 1,4
+move r 1,3
+move r 4,4
+move r 5,3
+move r 4,4
+move r 3,4
+move r 3,5
+move r 2
+move r 1,2
+moce
+move r 1,3
+attack r 1,4
+atrt
+attack 1,
+attack r 1,4,
+attak
+attack 1
+attack r 1m
+attack r 1,4
+attack r 1,4
+loot r 4,1
+loot r 1,4
+move r 2,3
+move r 3,3
+move r 4,4
+l
+attack r 5,5
+attack r 5,5
+attack r 5,5
+attack  5,5
+attack r 5,5
+attack r 5,5
+move r 3,4
+move r 3,5
+inventory re
+inventory r
+use larm
+use r larm
+move r 1,2
+move r 3,4
+move r 1,3
+quit
diff --git a/testcases/tests/43/io.txt b/testcases/tests/43/io.txt
new file mode 100644
index 0000000..e9b8cc0
--- /dev/null
+++ b/testcases/tests/43/io.txt
@@ -0,0 +1,1691 @@
+> 
+> ** Welcome to the exciting world of Dungeons & Classes!
+> 
+> How many players want to join the adventure? (1 to 3)
+? > 
+< 0
+> Please enter a number of players between 1 and 3.
+? > 
+< -1
+> Please enter a number of players between 1 and 3.
+? > 
+< 45555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555583
+> Please enter a number of players between 1 and 3.
+? > 
+< d
+> Please enter a number of players between 1 and 3.
+? > 
+< 3
+> 
+> Player 1 what do you wish to be called? (max length 10 characters)
+? > 
+< franzi
+> franzi, please choose a player type:
+>   [W] Wizard     0/1
+>   [B] Barbarian  0/1
+>   [R] Rogue      0/1
+? > 
+< ö
+> Please enter a letter representing your desired player type (W, B, or R).
+? > 
+< w
+> 
+> Player 2 what do you wish to be called? (max length 10 characters)
+? > 
+< frizzi
+> frizzi, please choose a player type:
+>   [W] Wizard     1/1
+>   [B] Barbarian  0/1
+>   [R] Rogue      0/1
+? > 
+< W
+> This player type is no longer available. Please choose a different player type.
+? > 
+< b
+> 
+> Player 3 what do you wish to be called? (max length 10 characters)
+? > 
+< ranzi
+> ranzi, please choose a player type:
+>   [W] Wizard     1/1
+>   [B] Barbarian  1/1
+>   [R] Rogue      0/1
+? > 
+< r
+> 
+> -- Players --------------------------------------
+>   Player 1: Wizard [W] "franzi"
+>   Player 2: Barbarian [B] "frizzi"
+>   Player 3: Rogue [R] "ranzi"
+> 
+> ** You have entered the dungeon of the evil Lich!
+> ** Help the anxious souls of the nearby village by freeing
+> ** them from the monsters that haunt it!
+> 
+> ** Beware, there are zombies in this room!
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   | Z1|   |
+>    +---+---+---+---+---+
+>  3 | W | B |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< use r fdgdfgdsfgdfg
+> !! Invalid PARAMETER.
+? > 
+< attack r 3,2
+> Rogue [R] "ranzi" used "Rapier" on (3,2) affecting (2,2), (3,2).
+> [Dice Roll] 1 d8 resulting in a total value of 2.
+> 
+> frizzi loses 3 health (5 * 100 % - 2).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   | Z1|   |
+>    +---+---+---+---+---+
+>  3 | W | B |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 3,2
+> Rogue [R] "ranzi" used "Rapier" on (3,2) affecting (2,2), (3,2).
+> [Dice Roll] 1 d8 resulting in a total value of 4.
+> 
+> frizzi loses 5 health (7 * 100 % - 2).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   | Z1|   |
+>    +---+---+---+---+---+
+>  3 | W | B |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attak
+> !! Invalid COMMAND.
+? > 
+< attack r 3,2
+> Rogue [R] "ranzi" used "Rapier" on (3,2) affecting (2,2), (3,2).
+> [Dice Roll] 1 d8 resulting in a total value of 5.
+> 
+> frizzi loses 5 health (8 * 100 % - 2).
+> frizzi was defeated.
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   | Z1|   |
+>    +---+---+---+---+---+
+>  3 | W | X |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> Zombie 1 [Z1] moved to (2,3).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 | W | X |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 3,1
+> Rogue [R] "ranzi" used "Rapier" on (3,1) affecting (3,1).
+> [Dice Roll] 1 d8 resulting in a total value of 4.
+> 
+> franzi loses 7 health (7 * 100 % - 0).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 | W | X |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attt
+> !! Invalid COMMAND.
+? > 
+< attack r 3,1
+> Rogue [R] "ranzi" used "Rapier" on (3,1) affecting (3,1).
+> [Dice Roll] 1 d8 resulting in a total value of 5.
+> 
+> franzi loses 3 health (8 * 100 % - 0).
+> franzi was defeated.
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 | X | X |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< a
+> !! Invalid COMMAND.
+? > 
+< loot 2
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< loot r 2,3
+> !! Position is outside the room, out of reach or does not point to an expected entity.
+? > 
+< loot r 3,2
+> ** Looting successful! You have received the following items ...
+>   Weapons: [GAXE] Greataxe (1), [HAXE] Handaxe (2)
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 | X |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> Zombie 1 [Z1] moved to (2,2).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  3 | X |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< loot r 3,1
+> ** Looting successful! You have received the following items ...
+>   Weapons: [DAGG] Dagger (1), [QACD] Quarterstaff of Acid (1), [QFRC] Quarterstaff of Force (1)
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  3 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0| R |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< move r 3,2
+> Rogue [R] "ranzi" moved to (3,2).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  3 |   | R |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0|   |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 2,2
+> Rogue [R] "ranzi" used "Rapier" on (2,2) affecting (1,2), (2,2).
+> [Dice Roll] 1 d8 resulting in a total value of 7.
+> 
+> Zombie 1 loses 9 health (10 * 100 % - 1).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  3 |   | R |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0|   |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 6/15
+> 
+> Zombie 1 [Z1] used "Dagger" on (3,2) affecting (3,2).
+> [Dice Roll] 1 d4 resulting in a total value of 4.
+> 
+> ranzi loses 0 health (4 * 100 % - 4).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  3 |   | R |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0|   |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 6/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 2,2
+> Rogue [R] "ranzi" used "Rapier" on (2,2) affecting (1,2), (2,2).
+> [Dice Roll] 1 d8 resulting in a total value of 3.
+> 
+> Zombie 1 loses 5 health (6 * 100 % - 1).
+> 
+> -- ROOM 1 (0/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |#D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  3 |   | R |   |   |   |
+>    +---+---+---+---+---+
+>  4 |#D0|   |   |   |   |
+>    +---+---+---+---+---+
+>    Z1: 1/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 2,2
+> Rogue [R] "ranzi" used "Rapier" on (2,2) affecting (1,2), (2,2).
+> [Dice Roll] 1 d8 resulting in a total value of 2.
+> 
+> Zombie 1 loses 1 health (5 * 100 % - 1).
+> Zombie 1 was defeated.
+> 
+> -- ROOM 1 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  3 |   | R |   |   |   |
+>    +---+---+---+---+---+
+>  4 | D0|   |   |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< loot
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< move r 3
+> !! Invalid PARAMETER.
+? > 
+< mve
+> !! Invalid COMMAND.
+? > 
+< move r 2,3
+> Rogue [R] "ranzi" moved to (2,3).
+> 
+> -- ROOM 1 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | X | R |   |   |
+>    +---+---+---+---+---+
+>  3 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 | D0|   |   |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 1,3
+> Rogue [R] "ranzi" moved to (1,3).
+> ** Well done, you made it through the first room!
+> ** Let's see if you can master this one as well!
+> 
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z2|   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z1: 15/15, Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 3,2
+> !! Position is outside the room, out of reach or does not point to an expected entity.
+? > 
+< attack r 3
+> !! Invalid PARAMETER.
+? > 
+< attack r 4,2
+> Rogue [R] "ranzi" used "Rapier" on (4,2) affecting (3,1), (4,2).
+> [Dice Roll] 1 d8 resulting in a total value of 3.
+> 
+> Zombie 1 loses 5 health (6 * 100 % - 1).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z2|   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z1: 10/15, Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 4,2
+> Rogue [R] "ranzi" used "Rapier" on (4,2) affecting (3,1), (4,2).
+> [Dice Roll] 1 d8 resulting in a total value of 2.
+> 
+> Zombie 1 loses 4 health (5 * 100 % - 1).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z2|   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | Z1|   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z1: 6/15, Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 3
+> !! Invalid PARAMETER.
+? > 
+< attack r 4,2
+> Rogue [R] "ranzi" used "Rapier" on (4,2) affecting (3,1), (4,2).
+> [Dice Roll] 1 d8 resulting in a total value of 7.
+> 
+> Zombie 1 loses 6 health (10 * 100 % - 1).
+> Zombie 1 was defeated.
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z2|   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z2: 15/15
+> 
+> Zombie 2 [Z2] moved to (2,2).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z2|   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< move r 3,3
+> !! Position is outside the room, out of reach or does not point to an expected entity.
+? > 
+< move r 4,3
+> Rogue [R] "ranzi" moved to (4,3).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z2|   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | X | R |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< move r 3,3
+> Rogue [R] "ranzi" moved to (3,3).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z2|   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   | R |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 2,2
+> Rogue [R] "ranzi" used "Rapier" on (2,2) affecting (1,1), (2,2).
+> [Dice Roll] 1 d8 resulting in a total value of 8.
+> 
+> Zombie 2 loses 10 health (11 * 100 % - 1).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z2|   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   | R |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z2: 5/15
+> 
+> Zombie 2 [Z2] used "Dagger" on (3,3) affecting (3,3).
+> [Dice Roll] 1 d4 resulting in a total value of 4.
+> 
+> ranzi loses 0 health (4 * 100 % - 4).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z2|   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   | R |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z2: 5/15
+> 
+> ** What do you want to do?
+? > 
+< attack rr
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< atr
+> !! Invalid COMMAND.
+? > 
+< attack r 2,2
+> Rogue [R] "ranzi" used "Rapier" on (2,2) affecting (1,1), (2,2).
+> [Dice Roll] 1 d8 resulting in a total value of 1.
+> 
+> Zombie 2 loses 3 health (4 * 100 % - 1).
+> 
+> -- ROOM 2 (1/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   | Z2|   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   | R |   |#D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   |#D1|   |   |
+>    +---+---+---+---+---+
+>    Z2: 2/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 2,2
+> Rogue [R] "ranzi" used "Rapier" on (2,2) affecting (1,1), (2,2).
+> [Dice Roll] 1 d8 resulting in a total value of 3.
+> 
+> Zombie 2 loses 2 health (6 * 100 % - 1).
+> Zombie 2 was defeated.
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   | R |   | D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< loot 2,2
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< loot r 2,2
+> ** Looting successful! You have received the following items ...
+>   Weapons: [DAGG] Dagger (1)
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   | R |   | D3|
+>    +---+---+---+---+---+
+>  4 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< loot r 4,2
+> ** Looting successful! You have received the following items ...
+>   Weapons: [DAGG] Dagger (1)
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   | R |   | D3|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 4,3
+> Rogue [R] "ranzi" moved to (4,3).
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   | D3|
+>    +---+---+---+---+---+
+>  4 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< moce
+> !! Invalid COMMAND.
+? > 
+< move r 5,3
+> Rogue [R] "ranzi" moved to (5,3).
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   | D3|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 5,
+> !! Invalid PARAMETER.
+? > 
+< move r 6,3
+> Rogue [R] "ranzi" moved to (6,3).
+> 
+> -- ROOM 1 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | D2| R |   |
+>    +---+---+---+---+---+
+>  2 |   | X |   |   |   |
+>    +---+---+---+---+---+
+>  3 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 | D0|   |   |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 2,4
+> Rogue [R] "ranzi" moved to (2,4).
+> 
+> -- ROOM 1 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | X |   | R |   |
+>    +---+---+---+---+---+
+>  3 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 | D0|   |   |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 2,3
+> Rogue [R] "ranzi" moved to (2,3).
+> 
+> -- ROOM 1 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   | X | R |   |   |
+>    +---+---+---+---+---+
+>  3 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 | D0|   |   |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< loot 2,
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< loot r 2,2
+> ** Looting successful! You have received the following items ...
+>   Weapons: [DAGG] Dagger (1)
+> 
+> -- ROOM 1 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | D2|   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  3 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 | D0|   |   |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 3,1
+> !! Position is outside the room, out of reach or does not point to an expected entity.
+? > 
+< move r 1,4
+> Rogue [R] "ranzi" moved to (1,4).
+> 
+> -- ROOM 1 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | D2| R |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  4 | D0|   |   |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 1,3
+> Rogue [R] "ranzi" moved to (1,3).
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   | D3|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 4,4
+> Rogue [R] "ranzi" moved to (4,4).
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   | D3|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 5,3
+> Rogue [R] "ranzi" moved to (5,3).
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   | D3|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 4,4
+> Rogue [R] "ranzi" moved to (4,4).
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   |   | D3|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 3,4
+> Rogue [R] "ranzi" moved to (3,4).
+> 
+> -- ROOM 2 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#T |   |   | R | D3|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  6 |   |   | D1|   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 3,5
+> Rogue [R] "ranzi" moved to (3,5).
+> ** Can you hear the long lost voices of the fallen warriors? This is just room 3!
+> 
+> ** Oh no, I have spotted a goblin in the room. Stay safe!
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   | Z1|   |
+>    +---+---+---+---+---+
+>  2 | R |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< move r 2
+> !! Invalid PARAMETER.
+? > 
+< move r 1,2
+> Rogue [R] "ranzi" moved to (1,2).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   | R |   | Z1|   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< moce
+> !! Invalid COMMAND.
+? > 
+< move r 1,3
+> Rogue [R] "ranzi" moved to (1,3).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R | Z1|   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, Z1: 15/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 1,4
+> Rogue [R] "ranzi" used "Rapier" on (1,4) affecting (1,4), (1,5).
+> [Dice Roll] 1 d8 resulting in a total value of 1.
+> 
+> Zombie 1 loses 3 health (4 * 100 % - 1).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R | Z1|   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, Z1: 12/15
+> 
+> Goblin 1 [G1] used "Shortbow" on (1,3) affecting (1,3).
+> [Dice Roll] 1 d6 resulting in a total value of 3.
+> 
+> ranzi loses 3 health (7 * 100 % - 4).
+> 
+> Zombie 1 [Z1] used "Dagger" on (1,3) affecting (1,3).
+> [Dice Roll] 1 d4 resulting in a total value of 2.
+> 
+> ranzi loses 0 health (2 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R | Z1|   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, Z1: 12/15
+> 
+> ** What do you want to do?
+? > 
+< atrt
+> !! Invalid COMMAND.
+? > 
+< attack 1,
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< attack r 1,4,
+> !! Invalid PARAMETER.
+? > 
+< attak
+> !! Invalid COMMAND.
+? > 
+< attack 1
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< attack r 1m
+> !! Invalid PARAMETER.
+? > 
+< attack r 1,4
+> Rogue [R] "ranzi" used "Rapier" on (1,4) affecting (1,4), (1,5).
+> [Dice Roll] 1 d8 resulting in a total value of 6.
+> 
+> Zombie 1 loses 8 health (9 * 100 % - 1).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R | Z1|   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, Z1: 4/15
+> 
+> ** What do you want to do?
+? > 
+< attack r 1,4
+> Rogue [R] "ranzi" used "Rapier" on (1,4) affecting (1,4), (1,5).
+> [Dice Roll] 1 d8 resulting in a total value of 7.
+> 
+> Zombie 1 loses 4 health (10 * 100 % - 1).
+> Zombie 1 was defeated.
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R | X |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10
+> 
+> ** What do you want to do?
+? > 
+< loot r 4,1
+> !! Position is outside the room, out of reach or does not point to an expected entity.
+? > 
+< loot r 1,4
+> ** Looting successful! You have received the following items ...
+>   Weapons: [DAGG] Dagger (1)
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10
+> 
+> Goblin 1 [G1] used "Shortbow" on (1,3) affecting (1,3).
+> [Dice Roll] 1 d6 resulting in a total value of 1.
+> 
+> ranzi loses 1 health (5 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10
+> 
+> ** What do you want to do?
+? > 
+< move r 2,3
+> Rogue [R] "ranzi" moved to (2,3).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   | R |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10
+> 
+> ** What do you want to do?
+? > 
+< move r 3,3
+> Rogue [R] "ranzi" moved to (3,3).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   | R |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10
+> 
+> ** What do you want to do?
+? > 
+< move r 4,4
+> Rogue [R] "ranzi" moved to (4,4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10
+> 
+> Goblin 1 [G1] used "Shortbow" on (4,4) affecting (4,4).
+> [Dice Roll] 1 d6 resulting in a total value of 1.
+> 
+> ranzi loses 1 health (5 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10
+> 
+> ** What do you want to do?
+? > 
+< l
+> !! Invalid COMMAND.
+? > 
+< attack r 5,5
+> Rogue [R] "ranzi" used "Rapier" on (5,5) affecting (5,5).
+> [Dice Roll] 1 d8 resulting in a total value of 5.
+> 
+> Goblin 1 loses 4 health (8 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 6/10
+> 
+> ** What do you want to do?
+? > 
+< attack r 5,5
+> Rogue [R] "ranzi" used "Rapier" on (5,5) affecting (5,5).
+> [Dice Roll] 1 d8 resulting in a total value of 4.
+> 
+> Goblin 1 loses 3 health (7 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 3/10
+> 
+> ** What do you want to do?
+? > 
+< attack r 5,5
+> Rogue [R] "ranzi" used "Rapier" on (5,5) affecting (5,5).
+> [Dice Roll] 1 d8 resulting in a total value of 1.
+> 
+> Goblin 1 loses 0 health (4 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 3/10
+> 
+> Goblin 1 [G1] used "Handaxe" on (4,4) affecting (4,4).
+> [Dice Roll] 1 d6 resulting in a total value of 5.
+> 
+> ranzi loses 4 health (8 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 3/10
+> 
+> ** What do you want to do?
+? > 
+< attack  5,5
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< attack r 5,5
+> Rogue [R] "ranzi" used "Rapier" on (5,5) affecting (5,5).
+> [Dice Roll] 1 d8 resulting in a total value of 3.
+> 
+> Goblin 1 loses 2 health (6 * 100 % - 4).
+> 
+> -- ROOM 3 (2/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 |#D2|   |   |   |#D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+>    G1: 1/10
+> 
+> ** What do you want to do?
+? > 
+< attack r 5,5
+> Rogue [R] "ranzi" used "Rapier" on (5,5) affecting (5,5).
+> [Dice Roll] 1 d8 resulting in a total value of 8.
+> 
+> Goblin 1 loses 1 health (11 * 100 % - 4).
+> Goblin 1 was defeated.
+> 
+> -- ROOM 3 (3/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 | D2|   |   |   | D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   | R |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | X |
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 3,4
+> Rogue [R] "ranzi" moved to (3,4).
+> 
+> -- ROOM 3 (3/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  2 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  3 | D2|   |   | R | D4|
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   |   |   |   | X |
+>    +---+---+---+---+---+
+>  6 |   |   |#T |   |   |
+>    +---+---+---+---+---+
+> 
+> 
+> ** What do you want to do?
+? > 
+< move r 3,5
+> Rogue [R] "ranzi" moved to (3,5).
+> ** You've reached room 4, which none of the adventurers who've tried to
+> ** save the village before you have been able to get through.
+> 
+> 
+> -- ROOM 4 (3/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   | G2|   |
+>    +---+---+---+---+---+
+>  2 | R |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 |#D3|   |   |   |#T |
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   | Z2|   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#D5|   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, G2: 10/10, Z1: 15/15, Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< inventory re
+> !! Invalid PARAMETER.
+? > 
+< inventory r
+> Inventory "ranzi"
+>   Equipped Armor: [LARM] Leather Armor
+>   Equipped Weapon: [RAPI] Rapier
+>   Weapons: [DAGG] Dagger (7), [GAXE] Greataxe (1), [HAXE] Handaxe (2), [QACD] Quarterstaff of Acid (1), [QFRC] Quarterstaff of Force (1), [SBOW] Shortbow (1)
+>   Consumables: [ARRW] Arrow (20)
+> 
+> ** What do you want to do?
+? > 
+< use larm
+> !! Invalid AMOUNT OF PARAMETERS.
+? > 
+< use r larm
+> 
+> -- ROOM 4 (3/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   |   | G2|   |
+>    +---+---+---+---+---+
+>  2 | R |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 |#D3|   |   |   |#T |
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   | Z2|   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#D5|   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, G2: 10/10, Z1: 15/15, Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< move r 1,2
+> Rogue [R] "ranzi" moved to (1,2).
+> 
+> -- ROOM 4 (3/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   | R |   | G2|   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 |#D3|   |   |   |#T |
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   | Z2|   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#D5|   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, G2: 10/10, Z1: 15/15, Z2: 15/15
+> 
+> ** What do you want to do?
+? > 
+< move r 3,4
+> !! Position is outside the room, out of reach or does not point to an expected entity.
+? > 
+< move r 1,3
+> Rogue [R] "ranzi" moved to (1,3).
+> 
+> -- ROOM 4 (3/5 completed) --------------------
+> 
+>      1   2   3   4   5  
+>    +---+---+---+---+---+
+>  1 |   |   | R | G2|   |
+>    +---+---+---+---+---+
+>  2 |   |   | Z1|   |   |
+>    +---+---+---+---+---+
+>  3 |#D3|   |   |   |#T |
+>    +---+---+---+---+---+
+>  4 |   |   |   |   |   |
+>    +---+---+---+---+---+
+>  5 |   | Z2|   |   | G1|
+>    +---+---+---+---+---+
+>  6 |   |   |#D5|   |   |
+>    +---+---+---+---+---+
+>    G1: 10/10, G2: 10/10, Z1: 15/15, Z2: 15/15
+> 
+> Goblin 1 [G1] used "Shortbow" on (1,3) affecting (1,3).
+> [Dice Roll] 1 d6 resulting in a total value of 3.
+> 
+> ranzi loses 2 health (7 * 100 % - 1).
+> ranzi was defeated.
+> 
+> ** Unfortunately this adventure has come to a tragic end!
+> ** These brave adventurers did not make it out alive.
+> 
+> -- Players --------------------------------------
+>   Wizard [W] "franzi", rest in peace.
+>   Barbarian [B] "frizzi", rest in peace.
+>   Rogue [R] "ranzi", rest in peace.
+> 
+> -- Statistics -----------------------------------
+>   3 rooms completed
+>   55 performed actions
+> 
+> ** Enter the file path of a writable file or
+> ** a path for a new file (including the file format e.g. `.txt`).
+? > 
+< quit
-- 
GitLab