Created
June 9, 2020 20:45
-
-
Save Srushtika/fb9ae875cc5d323403858e438c7fcb02 to your computer and use it in GitHub Desktop.
Code snippet 22 - For multiplayer space invaders article
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function randomAvatarSelector() { | |
return Math.floor(Math.random() * 3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment