Color output isn't necessarily always going to be a terminal output
thing, and terminals don't always support the same escape codes (e.g. on
Windows). Thus, all colorization efforts are done in the Display rather
than in the Game.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
Game start room was accidentally hardcoded to be "prelude" instead of
using the start_room variable. This is fixed.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
In case we want to run this on something that isn't an ANSI terminal, we
have the option to implement it however we want.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
* When you teleport to a room, the teleport auto-triggers fire.
* Rooms have auto-triggers. None by default. They are run every time you
teleport to a room, and when the game starts. Gate behavior behind a
variable.
* PlayerInputAction waits for player input (and potentially write it
into a variable)
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
Basic commands are being parsed. I think the only weird part is the
'use' command because it needs to possibly target two things. A tiny
test example is provided in __main__, this will probably be broken out
later.
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>