diff --git a/scripts/game.mjs b/scripts/game.mjs
index 3ae6c39..0e013b0 100644
--- a/scripts/game.mjs
+++ b/scripts/game.mjs
@@ -7,7 +7,7 @@ export class Game {
constructor(name) {
this.name = name;
this.players = [];
- this.world = new World([16,9])
+ this.world = new World([16,16])
}
addPlayer(id, name) {
diff --git a/scripts/server/netcode.mjs b/scripts/server/netcode.mjs
index fbc9817..410c8e3 100644
--- a/scripts/server/netcode.mjs
+++ b/scripts/server/netcode.mjs
@@ -39,6 +39,8 @@ function connected(client) {
client.emit('inGame', true)
client.sendMeta()
})
+
+
client.on('leaveGame', function(data){
log.log(client.id + ' disconnected.')
client.game.removePlayerByID(client.id)
diff --git a/www/index.html b/www/index.html
index a76fa7e..42a0e8e 100644
--- a/www/index.html
+++ b/www/index.html
@@ -5,14 +5,15 @@
+
-
-
+
+
Connection Status
@@ -23,12 +24,30 @@
-