Skip to content

Instantly share code, notes, and snippets.

@Srushtika
Last active June 9, 2020 20:25
Show Gist options
  • Save Srushtika/87abe7e0f421ba6286714c77981fe413 to your computer and use it in GitHub Desktop.
Save Srushtika/87abe7e0f421ba6286714c77981fe413 to your computer and use it in GitHub Desktop.
Code snippet 13 - For multiplayer space invaders article
function startGameDataTicker() {}
function subscribeToPlayerInput(channelInstance, playerId) {}
function startDownwardMovement(playerId) {}
function finishGame(playerId) {}
function resetServerState() {}
function startShipAndBullets() {}
function startMovingPhysicsWorld() {}
function calcRandomVelocity() {}
function randomAvatarSelector() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment