Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

game:start now emits to all connected clients

  • Loading branch information...
commit 374359e9fb36f672eeada352e6c2ea0da18a9c95 1 parent 47b7d12
Jonathan Davis nightfury authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  app.js
2  app.js
@@ -13,7 +13,7 @@ globalUsers = new Array();
13 13
14 14 io.sockets.on('connection', function (socket) {
15 15 socket.on('client:ready', function (data) {
16   - socket.emit('game:start', { });
  16 + io.sockets.emit('game:start', { });
17 17 io.sockets.emit('hit', { x: 100, y: 100 });
18 18 io.sockets.emit('miss', { x: 200, y: 200 });
19 19 submarine = {

0 comments on commit 374359e

Please sign in to comment.
Something went wrong with that request. Please try again.