res.sendFile(__dirname + '/index.html');
});
+app.get('/tardis', (req, res) => {
+ res.sendFile(__dirname + '/tardis.html');
+});
+
+app.get('/tardis/', (req, res) => {
+ res.sendFile(__dirname + '/tardis.html');
+});
+
+app.get('/tardis/index.html', (req, res) => {
+ res.sendFile(__dirname + '/tardis.html');
+});
+
io.on('connection', (socket) => {
// First things first, tell the client their name (if any)
--- /dev/null
+<!DOCTYPE html>
+<html>
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>ZOMBO</title>
+ <link href="/zombo.css" rel="stylesheet" type="text/css">
+ <meta name="viewport" content="width=device-width,initial-scale=1">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <meta name="HandheldFriendly" content="true">
+</head>
+
+<body>
+ <div id="content">
+
+ <div id="header" align="center">
+ <p>
+ <img src="/images/928785925_A_Van_Gogh_painting_of_the_Tardis.png">
+ </p>
+ </div>
+
+ <p>
+ This tardis is locked. Do you have a sonic screwdriver?
+ </p>
+
+ </div>
+</body>
+</html>