This file contains 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
<style> | |
@keyframes shake { | |
0% { | |
transform: translate(1px, 1px) rotate(0deg); | |
} | |
10% { | |
transform: translate(-1px, -2px) rotate(-1deg); | |
} |
This file contains 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 roll() { | |
// How many seconds have passed | |
let startTime = new Date().getTime(); | |
uint = 0; | |
while (true) { | |
uint++; | |
let seconds = Math.floor((new Date().getTime() - startTime) / 1000); | |
var roll = Math.floor(Math.random() * 47446476020523684621282853302186648346296320); | |
if (roll == 0) { | |
console.log("Your hand went through", uint, roll, seconds); |