🎮ArcadeLab

ULTIMATE ROAST MACHINE

by BoldPenguin14
347 lines10.7 KB
▶ Play

<!DOCTYPE html>
<html>
<head>
<title>ULTIMATE ROAST MACHINE</title>
<style>
body {
  background: linear-gradient(135deg,#100000,#720000);
  color: white;
  font-family: Arial,sans-serif;
  text-align: center;
  padding: 30px 15px;
}
h1 {
  color: #ff2600;
  font-size: 38px;
  text-shadow: 0 0 20px red;
}
.container {
  background: #240707;
  padding: 25px;
  border-radius: 20px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 0 25px red;
}
input {
  padding: 15px;
  width: 85%;
  border-radius: 10px;
  border: none;
  font-size: 17px;
  margin: 15px;
}
button {
  background: #ff2600;
  color: white;
  border: none;
  padding: 14px 23px;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
  margin: 8px;
  font-weight: bold;
}
button:hover {
  background: orange;
}
#roast {
  font-size: 23px;
  color: #ff6747;
  margin: 25px 0;
  min-height: 90px;
  font-weight: bold;
}
#count {
  color: #ffb09e;
}
</style>
</head>

<body>

<h1>🔥 ULTIMATE ROAST MACHINE 🔥</h1>
<p>159 ROASTS. ZERO MERCY. 💀</p>

<div class="container">
<h2>Who are we destroying?</h2>

<input id="person"
placeholder="My bro, my ex, my enemy..."
oninput="checkPerson()">

<br>

<button onclick="generateRoast()">
🔥 ROAST THEM
</button>

<div id="roast">
Your roast will appear here...
</div>

<p id="count">159 roasts remaining</p>

<button onclick="generateRoast()">
ANOTHER ONE 💀
</button>
</div>

<script>

const roasts = [
"You're so ugly the window shut itself.",
"You're built like a rejected character.",
"Your personality has a 404 error.",
"You're the reason instructions have pictures.",
"Even your mirror needs a break.",
"You're not the sharpest tool in the shed.",
"Your brain is running on airplane mode.",
"You're a participation trophy with legs.",
"Your comeback needs a comeback.",
"You're built like a software update nobody asked for.",
"Your barber deserves compensation.",
"You're the human version of a typo.",
"You're so annoying even silence avoids you.",
"Your brain has left the group chat.",
"You're built like an unfinished side quest.",
"You're the reason the mute button exists.",
"Even your shadow walks behind someone else.",
"You're a walking loading screen.",
"Your jokes have a warranty that expired.",
"You're the human version of low battery.",
"You're so lost Google Maps filed a missing person report.",
"You're built like a broken shopping trolley.",
"Your personality is still in the free trial.",
"You're the reason people read terms and conditions.",
"You're so boring even your dreams fall asleep.",
"Your brain needs a restart.",
"You're a limited edition mistake.",
"You're the human version of a buffering video.",
"You're so unlucky even a four-leaf clover avoids you.",
"You're built like a WiFi router with one bar.",
"Your reflection has trust issues.",
"You're the reason the group chat goes quiet.",
"Your confidence is bigger than your talent.",
"You're a walking spoiler alert.",
"You're like a software bug nobody can fix.",
"You're so slow a snail filed a complaint.",
"Your brain is still downloading the tutorial.",
"You're built like an expired coupon.",
"You're the human version of a broken pencil.",
"Even autocorrect gave up on you.",
"You're a disappointment with excellent attendance.",
"You're like a Monday morning in human form.",
"Your personality is a terms and conditions page.",
"You're the reason aliens won't visit Earth.",
"You're built like a rejected Lego piece.",
"Your common sense is uncommon.",
"You're so clueless even Google says good luck.",
"You're a human pop-up ad.",
"Your brain has more gaps than Swiss cheese.",
"You're the final boss of bad decisions.",
"You're a walking unsubscribe button.",
"You're built like a forgotten password.",
"Your attitude needs a factory reset.",
"You're the human version of a dead battery.",
"Even your alarm clock doesn't want to wake you.",
"You're so awkward the floor gets embarrassed.",
"You're built like a rejected action figure.",
"Your brain is sponsored by dial-up internet.",
"You're a side character in your own life.",
"You're the reason the tutorial says skip.",
"You're so ugly the Grim Reaper asked for directions.",
"You're built like a failed science experiment.",
"You're a walking error message.",
"Your personality needs an update.",
"You're the human version of a buffering symbol.",
"You're so dramatic even movies call you extra.",
"Your brain is on 1% and refusing to charge.",
"You're a broken pencil: pointless.",
"You're the reason people invented headphones.",
"You're built like a missing puzzle piece.",
"Your comeback was delivered by snail mail.",
"You're so confused even your GPS says maybe.",
"You're a human loading error.",
"Your jokes belong in a museum of failures.",
"You're the reason the group chat has rules.",
"You're built like a cardboard villain.",
"Your brain is still on the free trial.",
"You're a walking bad decision.",
"You're so forgettable even your own stories skip you.",
"You're the human equivalent of a pop quiz.",
"Your logic has gone on vacation.",
"You're built like an unfinished sandwich.",
"Your personality is a software glitch.",
"You're the reason common sense needs a warning label.",
"You're so loud even your thoughts need earplugs.",
"You're a walking spoiler for disappointment.",
"Your brain has a loading screen permanently.",
"You're built like a knockoff superhero.",
"Even your excuses need better excuses.",
"You're the human version of a missed call.",
"Your confidence needs a reality check.",
"You're a side quest nobody accepts.",
"You're so annoying even your notifications are muted.",
"You're built like a rejected cartoon character.",
"Your brain is running on borrowed WiFi.",
"You're a walking plot hole.",
"You're the reason people say never mind.",
"You're so useless a broken calculator feels useful.",
"You're built like a failed character creator.",
"Your personality is the loading screen nobody skips.",
"You're the human version of a spelling mistake.",
"You're so unlucky even bad luck avoids you.",
"Your brain has disconnected from the server.",
"You're a walking technical difficulty.",
"You're built like a forgotten sandwich.",
"Your jokes have been rejected by the laugh track.",
"You're the human version of an expired battery.",
"Even your shadow needs personal space.",
"You're so confusing even your reflection looks puzzled.",
"You're built like a rejected video game skin.",
"Your brain is buffering in real life.",
"You're the reason people invented the exit button.",
"You're a walking disappointment notification.",
"Your personality has been discontinued.",
"You're so dramatic your life needs a soundtrack.",
"You're built like a low-budget superhero.",
"Your brain is still loading from yesterday.",
"You're a human typo nobody corrected.",
"Even your mirror wants to unsubscribe.",
"You're the final warning before common sense disappears.",
"You're so unlucky even a lottery ticket feels bad for you.",
"You're built like a broken controller.",
"Your brain needs technical support.",
"You're a walking awkward silence.",
"You're the reason people invented personal space.",
"Your personality is stuck in demo mode.",
"You're so lost your GPS needs therapy.",
"You're built like a rejected Minecraft mob.",
"Your common sense is on vacation.",
"You're a human error 500.",
"Even your reflection wants a different angle.",
"You're so annoying the mute button filed a restraining order.",
"You're built like an unfinished school project.",
"Your brain has left the building.",
"You're a walking bad update.",
"Your jokes are so dry the desert asked for water.",
"You're the reason people invented the block button.",
"You're built like a failed character design.",
"Your brain is powered by a potato.",
"You're a walking plot twist nobody wanted.",
"You're so ugly you killed the Grim Reaper.",
"You're the human version of a broken link.",
"Even your excuses have given up.",
"You're built like a rejected cereal mascot.",
"Your brain is still reading the instructions.",
"You're the reason people say 'who invited you?'",
"You're so boring even your shadow takes naps.",
"You're a walking system crash.",
"You're built like a rejected final boss.",
"Your personality is permanently under construction.",
"You're so clueless even your thoughts get lost.",
"You're a human version of a bad password.",
"You're the reason the universe has a mute button.",
"Your brain has fewer updates than an abandoned app.",
"You're built like a failed drawing.",
"You're a walking notification nobody wants to open.",
"You're the human equivalent of a scratched DVD.",
"Your roast game is weaker than your WiFi."
];

const specialRoasts = [
"You're so ugly you killed the Grim Reaper 💀",
"Even the Grim Reaper saw you and said NOT TODAY.",
"You're the reason the villain became a villain.",
"Your existence is a plot twist nobody requested.",
"Even karma said you're too much work.",
"You're a walking reminder that not every idea is a good one.",
"Your personality could make a horror movie boring.",
"Even your bad decisions are embarrassed of you.",
"You're the reason the block button was invented.",
"You're so annoying silence filed a complaint."
];

let unusedRoasts = [];
let unusedSpecial = [];
let currentPerson = "";

function shuffle(array) {
  for(let i = array.length - 1; i > 0; i--) {
    const j = Math.floor(Math.random() * (i + 1));
    [array[i], array[j]] = [array[j], array[i]];
  }
  return array;
}

function resetRoasts() {
  unusedRoasts = shuffle([...roasts]);
  unusedSpecial = shuffle([...specialRoasts]);
}

function checkPerson() {
  const person = document.getElementById("person").value.trim();

  if(person.toLowerCase() !== currentPerson.toLowerCase()) {
    currentPerson = person;
    resetRoasts();
    document.getElementById("roast").innerText =
      "NEW TARGET DETECTED 💀🔥";
    updateCount();
  }
}

function updateCount() {
  document.getElementById("count").innerText =
    unusedRoasts.length + unusedSpecial.length +
    " roasts remaining";
}

function generateRoast() {
  const person = document.getElementById("person").value.trim();
  const output = document.getElementById("roast");

  if(!person) {
    output.innerText = "TYPE WHO YOU WANT TO ROAST FIRST 💀";
    return;
  }

  if(person.toLowerCase() !== currentPerson.toLowerCase()) {
    currentPerson = person;
    resetRoasts();
  }

  const target = person.toLowerCase();

  const special =
    target.includes("ex") ||
    target.includes("enemy") ||
    target.includes("hate");

  let roast;

  if(special && unusedSpecial.length > 0) {
    roast = unusedSpecial.pop();
  } else if(unusedRoasts.length > 0) {
    roast = unusedRoasts.pop();
  } else if(unusedSpecial.length > 0) {
    roast = unusedSpecial.pop();
  } else {
    resetRoasts();
    roast = unusedRoasts.pop();
  }

  output.innerText = "🔥 " + person + ": " + roast + " 🔥";

  updateCount();
}

resetRoasts();
updateCount();

</script>
</body>
</html>

Game Source: ULTIMATE ROAST MACHINE

Creator: BoldPenguin14

Libraries: none

Complexity: complex (347 lines, 10.7 KB)

The full source code is displayed above on this page.

Remix Instructions

To remix this game, copy the source code above and modify it. Add a ARCADELAB header at the top with "remix_of: ultimate-roast-machine-boldpenguin14" to link back to the original. Then publish at arcadelab.ai/publish.