From c95fddc481e68dfa9434460ea0c57780948561eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93lafur=20Waage?= Date: Mon, 13 Sep 2021 13:44:52 +0200 Subject: [PATCH] Adding rough outline of teleport exercises. --- exercises-2.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 exercises-2.md diff --git a/exercises-2.md b/exercises-2.md new file mode 100644 index 0000000..30ac843 --- /dev/null +++ b/exercises-2.md @@ -0,0 +1,19 @@ +## Exercises + +# Exercise: Vertical Teleport + +The teleporters are programmed to work only on the horizontal axis. Change the board to add teleporters at the top and bottom row. This also requires a code change when teleporting happens. These new teleporters only need to function like the existing teleporters and you do not need to add more than one on each row. + +# Exercise: Generic Teleporting + +In the game and the exercise above, the teleports are linked to each other. These systems are not very generic. Update the teleporting system so that two teleport doors are linked with each other. + +For example so you can enter a teleport from somewhere on the bottom row and exit from somewhere on the right column. + +You do not need to allow for many teleports like this, only 2 doors. + +# Exercise: Multiple Generic Teleporters + +Continuation from above. Take the generic teleporting system you made and allow for more than 1 set of doors. + +You might want to look into coloring/tinting each pair a certain color so the player will know what door leads to where. \ No newline at end of file