Cycle Risk Game!!
JDOG787 (216)

Hi everyone

I made this cool game! I made this because I just recently learned frontend js so to practice I made this game!

How to play!

  • Try to get 200 1000 cycles by pressing buttons
  • Be careful. Theres a chance you will lose all
  • NEW: Better win/lose ratios
  • NEW: Uses localStorage

Enjoy :)

You are viewing a single comment. View All
ChezCoder (1500)

paste this in console:

function win(){score=1000;cycles.textContent = score + " Cycles";cycles.textContent = "Yay You Won! You Got 1000 Cycles!"};function setscore(scr){score=scr;cycles.textContent = score + " Cycles";if(score === 1000){cycles.textContent = "Yay You Won! You Got 1000 Cycles!"; = "block";}};console.log("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\033[4m\033[3m\033[32mSuccess!\033[0m");function spam(btnId,amnt){if (btnId/btnId!=1){return 'Btn number has to be between 1-5';}var int_val_ = setInterval(()=>{if (score <= amnt) {document.getElementsByClassName("btn"+btnId)[0].click();}else{clearInterval(int_val_);}},10);scrollTo({top:0,behavior:"smooth"});}function removeRandom(){Math.random = function random(){ return 0 };console.log("Code given by @wulv")}

win() - ruin the fun
setscore() - set the score; example: setscore(30)
spam() - spam a button; example: spam("1",10) will spam the first button until the score reaches 10
removeRandom() - removes the possibility to lose (thanks @wulv!).

JDOG787 (216)

@ChezCoder lol. wow it works. CHEATER jk jk


wulv (54)

@ChezCoder Even better hack:

Math.random = function random(){ return 0 };

This eliminates the possibility to lose

JosephSanthosh (1093)

Python FAST and EASY Tutorial PART 1