Hook up game logic via socket io