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
const givers = ['Gabriella','Antonella','Sofia','Luciana']; | |
const receivers = [].concat(givers); | |
while(givers.length > 0) { | |
let giver = givers.shift(); | |
let receiverIndex = Math.floor(Math.random() * receivers.length); | |
let receiver = receivers[receiverIndex]; | |
// cannot give to self, silly bean | |
if (receiver === giver) { |
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
{ | |
togglePerspective: [ C, P ], | |
runModifier: [ SHIFT ], | |
inventory: [ G ], | |
toggleZoom: [ MOUSE_BUTTON_3 ], | |
moveForward: [ W, UP_ARROW ], | |
moveBackward: [ S, DOWN_ARROW ], | |
strafeLeft: [ A ], | |
strafeRight: [ D ], | |
rotateLeft: [ LEFT_ARROW ], |