diff --git a/feast.css b/feast.css index aa70e3b..de52a9a 100644 --- a/feast.css +++ b/feast.css @@ -1,4 +1,23 @@ +body { + background: #111; + color: #eee; +} + +button { + background: #222; + color: #eee; +} .compass-button { width: 100px; height: 100px; } + +#log { + background: #222; + width: 500px; + height: 700px; +} + +#stats { + float: right; +} diff --git a/feast.html b/feast.html index b531743..92315d8 100644 --- a/feast.html +++ b/feast.html @@ -17,7 +17,11 @@ -
+
+ potato vore +
+ +
@@ -33,3 +37,4 @@
+ diff --git a/feast.js b/feast.js index 7a3d279..109ee16 100644 --- a/feast.js +++ b/feast.js @@ -10,6 +10,8 @@ function move(direction) { alert("Tried to move to an empty room!"); return; } else { + currentRoom = target; + update(["You move to " + currentRoom.name]); updateDisplay(); } @@ -21,6 +23,15 @@ window.addEventListener('load', function(event) { updateDisplay(); }); +function update(lines=[]) { + let log = document.getElementById("log"); + for (let i=0; i