diff --git a/web/connection.js b/web/connection.js index 36667c6..fd4b1e8 100644 --- a/web/connection.js +++ b/web/connection.js @@ -17,14 +17,14 @@ function update(data) { function handleMessage(msg) { switch (msg.type) { - case 'initial': - initializeArena(msg.data); - break; - case 'update': - update(msg.data); - break; - default: - break; + case 'initial': + initializeArena(msg.data); + break; + case 'update': + update(msg.data); + break; + default: + break; } } diff --git a/web/index.html b/web/index.html index 08cd3c0..8cd45a4 100644 --- a/web/index.html +++ b/web/index.html @@ -1,14 +1,14 @@ - - Hello World + + Bumper + - - + + - - - \ No newline at end of file + \ No newline at end of file