Share your repls and programming experiences

← Back to all posts
Countdown - A stressful "Defuse the bomb" game
CatR3kd (336)

Hey guys!

Thank you for clicking on my little project!
In this game, you have to figure out the 4-Digit code to defuse the bomb before you run out of time. Please consider upvoting!

  • CatR3kd <3
    P.S. Please no spoilers in chat! The code changes every time!

Countdown - A stressful game

In countdown, you have to find all four digits of the only code to defuse the bomb, before you run out of time! This is the first level of hopefully many to come, and only beta version. Enjoy! Also, check out a cool project my friend made!

UPDATE:

The full game is now out!

Go to this link to play it!

Commentshotnewtop
JosephSanthosh (1192)

This is rly interesting but we don't even know the numbers which we entered because when a number is pressed we don't know if it worked or not. Just a suggestion, when we press a number can the number show up on a screen or something in the program?

CatR3kd (336)

Thanks! When you enter the correct combination, you will be brought to a win screen. But I can add this! @JosephSanthosh

CatR3kd (336)

Of course! How do you recomend I do this? add a second screen? @JosephSanthosh

JosephSanthosh (1192)

Yea, like the timer, but move the timer above the new screen. @CatR3kd

jalenluorion (2)

Small brain me can't find any hints. Can you give a hint to the hints?

CatR3kd (336)

hmmm. ok. 100101101010101 @jalenluorion

BobTheTomatoPie (1178)

you should def run this on a function so nobody can type 'code' in the console and find the answer. Just put all the code inside this

window.onload=function(){}

CatR3kd (336)

ehh, there's no leaderboard or anything, so if they don't wanna have the fun, i guess they don't have to @BobTheTomatoPie

BobTheTomatoPie (1178)

alright, its only one line of code tho @CatR3kd

hihitherethere (3)

Like maybe if you are really struggling and give up you can check the console before the bomb [email protected]

tussiez (185)

@BobTheTomatoPie You can also do <script type="module">

Glare (225)

Can't wait for more levels. Very cool as it is right now though :)

CatR3kd (336)

Thanks! In the new version that will come out soon, there are currently five levels! @Glare

CoolGuy27 (43)

@CatR3kd Howwwwwwwwww!!!!!!!!!!!!!!

CatR3kd (336)

Every digit to the code is hidden somewhere! @CoolGuy27

CoolGuy27 (43)

@CatR3kd I did it!!
after looking through your code

I actually don't know js so i did some guesswork with what it does.

CatR3kd (336)

lol good job? I guess? lol @CoolGuy27

SeamusDonahue (36)

this is really cool, I'm just not big brain enough to beat it.

AgastyaSandhuja (156)

500 years later...


and then i read the comments and realized all i had to do was open the console and type some things in

CatR3kd (336)

lol. At least you did it yourself! @AgastyaSandhuja

hello1964 (23)

Are we just supposed to press random numbers until we get it right

bestcitizen (0)

hi, it's goana be fun to learn~!!

theroadtocode (15)

helppppppppppp. This is awesome, but I can't solve it :(

MaxLipkin (0)

i dont get it at all

CatR3kd (336)

lol you have to find the code. It's hidden throughout the page @MaxLipkin

MaxLipkin (0)

@CatR3kd like just in the game screen or in the code too?

CatR3kd (336)

Game screen only! (I mean, I guess you could find the answers in the code, but you're not really supposed to) @MaxLipkin

MaxLipkin (0)

@CatR3kd it doesn't make sense how i need more information

CatR3kd (336)

lol no can do pardner @MaxLipkin

PlaySoccer (40)

easily deserves an upvote

LoganB2 (4)

umm sorry, but there are 3 easy ways to hack this

in console put code = 1111(or any non 9999 4 digit number) and input the code

in console put the code to 9999

or put code in console and it will output the code

again sry, good game anyways lol

CatR3kd (336)

lol, its fine, I don't really care if people get the answer @LoganB2

firefish (599)

ALso what's the weird clamshell thing for?

JacobPowell2 (0)

you should have it so that it gives you a hint

Bookie0 (4059)

didn't manage to find the code. ;(
but also, it's a bit confusing as you don't really know what numbers you're pressing, add a textbar where we can see. because sometimes, we click some numbers, but don't know how to reset it to change stuff, etc.

also are the smiley face and the equation clues? if no, maybe add some clues that can change overtime to help with it! ;)

hihitherethere (3)

@Bookie0 I don't think the smiley does anything. The equation has a clue, though

maamataz (0)

bruh no instructions mate yea yea mate give us instructiins mate yea yea

CatR3kd (336)

Bruh if i gave you instructions it wouldn't be fun
geez
You're supposed to figure it out
@maamataz

abdullahrajput9 (22)

lol idk but i won like in literally the first or second try (by luck ofc)


good game though @CatR3kd

CookieGamer733 (0)

when you load the thing, type the numbers that show up in the console, in order. you win

FloCal35 (133)

Me pushing buttons and hoping it works

poetaetoes (285)

why is my one an eight??!!

poetaetoes (285)

@CatR3kd

My number one is an eight, not an one!!

CatR3kd (336)

Oh,, I see what you mean. Don't worry, it's fine! @poetaetoes

firefish (599)

@poetaetoes That's a clue, one of the digits is 8

NoNameByProgram (114)

let's see here, oh, the answer is in the console! how interesting!

CatR3kd (336)

lol. Hey can you be on to finish up the clicker game tonight? @NoNameByProgram

NoNameByProgram (114)

@CatR3kd yeah, i haven't been coding lately :(
i'll try to do it as fast as possible

CatR3kd (336)

Awesome! Thanks so much dude!

P.S. I'll add the credits soon
@NoNameByProgram

CatR3kd (336)

Ok dude I don't want to be pushy but can we please finish this up? It seems pretty close to being done anyways... @NoNameByProgram

NoNameByProgram (114)

@CatR3kd yeah, it just seems like it's not loading the countdown bc nodejs seems to be buggy

CatR3kd (336)

Hmm.. That's strange. Probably repl.it being bothersome. Can you finish the leaderboard at least? I can deal with the rest. @NoNameByProgram

NoNameByProgram (114)

@CatR3kd just found the error D:
i forgot to comment the dict

CatR3kd (336)

Lol. So that's it? Thanks! @NoNameByProgram

GeneralBaker (15)

Do you automatically get hints or do you have to earn them? I noticed there was 4 total.
Or would that give away too much...

CatR3kd (336)

It's fine lol, but you have to find the digits to the code @GeneralBaker

CatR3kd (336)

Nope, their all on there! @GeneralBaker

GeneralBaker (15)

Ok... I just didn't want to guess a 4 digit code ;) Looks hard [email protected]

hihitherethere (3)

Are you sure there all on there? Because the code only uses
the first [email protected]

firefish (599)

@hihitherethere The bottom right, clicking one and zero also reveal numbers of the code

hihitherethere (3)

Are you sure there are enough hints to do it? I couldn't solve it. But anyways, very cool game, can't wait for another level! I can help you with it if you want...

CatR3kd (336)

Awesome! I'll keep that in mind! @hihitherethere

hihitherethere (3)

Like i can help you with creating the [email protected]

CatR3kd (336)

Hmmm... Are you good at making art?
If you are, that would be fantastic! Otherwise, maaayybee. I'm not sure if I need help. @hihitherethere

CatR3kd (336)

Background and sprites. If you're not really good i'd rather not @hihitherethere

hihitherethere (3)

@CatR3kd Ok nvm then. Can't wait for the next one!

CatR3kd (336)

Hey @hihitherethere , I made a way so people can help! Click here to help with the final project!