From dde52c79899a3f325a4036588301b35c47494196 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Tue, 11 Dec 2018 20:13:52 -0500 Subject: Add snake --- src/html/essay/magic-division.html | 3 +- src/html/snake.html | 176 +++++++++++++++++++++++++++++++++++++ src/server.js | 1 + 3 files changed, 178 insertions(+), 2 deletions(-) create mode 100755 src/html/snake.html diff --git a/src/html/essay/magic-division.html b/src/html/essay/magic-division.html index 10849b3..db383e1 100644 --- a/src/html/essay/magic-division.html +++ b/src/html/essay/magic-division.html @@ -5,11 +5,10 @@ Magic Division - + -

Magic Division -- Or Division by Integer Multiplication

diff --git a/src/html/snake.html b/src/html/snake.html new file mode 100755 index 0000000..dfc1cf1 --- /dev/null +++ b/src/html/snake.html @@ -0,0 +1,176 @@ + + + + + Snake + + + + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/src/server.js b/src/server.js index e2cfb20..80be952 100644 --- a/src/server.js +++ b/src/server.js @@ -12,6 +12,7 @@ function setUpRoutes(){ server.get('/', (req, res) => res.sendFile(__dirname + "/html/index.html")) server.get('/bread', (req, res) => res.sendFile(__dirname + "/html/bread.html")); server.get('/essay', (req, res) => res.sendFile(__dirname + "/html/essay.html")); + server.get('/snake', (req, res) => res.sendFile(__dirname + "/html/snake.html")); server.get('/css/:id', (req, res) => { -- cgit v1.2.3