Skip to content

Instantly share code, notes, and snippets.

View memetrollsXD's full-sized avatar
😴

memetrollsXD memetrollsXD

😴
View GitHub Profile
@memetrollsXD
memetrollsXD / booba.html
Created May 21, 2022 15:38
Half assed game I made for someone.. making cookie clickers is surprisingly amusing
<style>
@keyframes shake {
0% {
transform: translate(1px, 1px) rotate(0deg);
}
10% {
transform: translate(-1px, -2px) rotate(-1deg);
}
@memetrollsXD
memetrollsXD / handthru.js
Created December 18, 2021 20:58
I once saw a Reddit comment: "There is a 1 in roughly 5.2 to the 61st power chance that if you were to slap a table, all of the molecules in your hand and the table would miss each other and your hand would go through it."
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);