From 73b28a096aacac523aab9850b816a474dba02b77 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Thu, 22 Feb 2018 21:38:24 -0500 Subject: [PATCH] Initial commit --- front end/index.html | 97 ++++++++++++++++++++++++++++++++++++++++++++ server/server.js | 24 +++++++++++ 2 files changed, 121 insertions(+) create mode 100644 front end/index.html create mode 100644 server/server.js diff --git a/front end/index.html b/front end/index.html new file mode 100644 index 0000000..9e440b7 --- /dev/null +++ b/front end/index.html @@ -0,0 +1,97 @@ + + + Block Battle Beta + + + + +
+
+ Canvas tag not supported +
+
+ + + + + + + \ No newline at end of file diff --git a/server/server.js b/server/server.js new file mode 100644 index 0000000..11bed20 --- /dev/null +++ b/server/server.js @@ -0,0 +1,24 @@ +/** + * Main server file which handles users + * + * @author Jeffery Russell + * 2-22-18 + */ + +const app = require('express')(); +const http = require('http').Server(app); +const io = require('socket.io')(http); + +const PORT = 3000; + +var players + +io.on('connection', function(socket) +{ + +}; + +http.listen(PORT, function() +{ + console.log('listening on *:3000'); +});