diff --git a/app.lua b/app.lua index fa56f0b..16dc4d9 100644 --- a/app.lua +++ b/app.lua @@ -30,6 +30,14 @@ app:get("/", function(self) } end) +app:get("/game", function(self) + self.text = say.hello() + self.isPopulated = mapFunc:mapExists(map) + return { render = "game", + + } +end) + app:match("/map/render", function(self) self.tiles = {} for h = 1, 10 do diff --git a/views/game.etlua b/views/game.etlua new file mode 100644 index 0000000..9904eb6 --- /dev/null +++ b/views/game.etlua @@ -0,0 +1,6 @@ + + +
+

Game

+
+