Share your repls and programming experiences

← Back to all posts
4 Chances 🍀 🤞
Bookie0 (2593)

Hola everyone!!!

Welcome to a collaboration between @ChezCoder and @Bookie0 !!!


what is it?

This is a hard game of a chance. How to play is explained in the rules.


login system

It has a login system that SAVES your username and password, as well as your money
So you just have to first sign up, and for the other times you can just login, and it’ll save for you! Even if you reload the page! : )


leaderboard

Also has a leaderboard that SHOWS everyone’s real time progress.


aim of game:

Reach the top of the leaderboard!!!Good luck (its pretty hard)


We hope you like this, and if you do,

Upvoting is Caring! 😊 😃

finally, I want to thank @ChezCoder for helping me achieve this game. Thanks dude, you’re really great! XD


Have a Wonderful day!

Edit: the login system now seems to work! Yay! But tell us if it isn’t, and if there are more bugs! Also, dont play the game in another tab, play it on this page itself.


Check this out: https://repl.it/talk/share/2K-Cycle-End-of-School-Special/41819

Commentshotnewtop
ChezCoder (1457)

Thank you for checking out the project, enjoy your day!

Rovy (10)

saying the project worked but then started showing [email protected]

ChezCoder (1457)

@Rovy it should be fixed now, try again :D

Rovy (10)

yeet now it works I love this game @ChezCoder

Bookie0 (2593)

@ChezCoder woahhhhhh must be another bug...
Also how much do you get for the rewards? Like is it totally random, or can you get very big rewards (20 digit numbers)?

Bookie0 (2593)

Yeah and the login isn’t working @ChezCoder

[deleted]

@Bookie0 yup, I tried to login but it says it is incorrect :(

Bookie0 (2593)

Yeah, were trying to fix that. Thank tho! @Twitchmmanikan

Bookie0 (2593)

Hey, there’s another error, try logging in, but there’s an error message with the code, maybe you can fix it? Thanks! : D @ChezCoder

ChezCoder (1457)

@Bookie0 hmm... the login seems to work.. it might be database overload. I deleted accounts with 0 cashout. Also, make sure when typing in your username and password that the capitals and lowercases are also correct. Tell everyone that, that might be the reason why nothing is working :)

Bookie0 (2593)

Yeah, it works on this page. But it doesn’t work when you open it on a different tab tho.... @ChezCoder thanks anyways!

: )

ChezCoder (1457)

@Bookie0 oo ok :) ill setup a few things to detect if the user is using it in a new tab :D

ChezCoder (1457)

@Bookie0 i think i know why it doesn't work on a new tab. On a new tab, the .env file is not shown and the PYTHONHASHSEED is different, meaning that the data that is sent is not what the user meant to enter and the password is wrong.

Bookie0 (2593)

Ok sure, also maybe add soemthing if the user has score over 100000, delete account because it hacking @ChezCoder

Bookie0 (2593)

Ah, so you know how to fix it? ;) @ChezCoder

Rovy (10)

usually no more than ten but sometimes something like [email protected]

Bookie0 (2593)

Yeah it’s a bug but thanks! :) @Rovy

Rovy (10)

true I used the password and user and it said there was no account like that I remember because I sent myself an email with it @Bookie0

Rovy (10)

I can't even get to the login it says sytax error line 24 exit status [email protected]

Bookie0 (2593)

Yes sorry about that @Rovy

Rovy (10)

can you fix that? pleeaase its relly fun the game but I can't play @Bookie0

Bookie0 (2593)

Idk, this wasn’t really what I specialized in, maybe ask @ChezCoder because they mostly did the leaderboard and login thing. @Rovy

Muffinlavania (669)

You gotta love it, "Upvoting is Caring", (And im not hating on you @Bookie0 just saying)

Muffinlavania (669)

@Bookie0 Can you also give me some ideas here? This is kinda rude to ask but i think you have some good ideas
Thanks!
https://repl.it/talk/ask/Maze-A-Mortis-Ideas/41208

Muffinlavania (669)

@Bookie0 Wait what you already did you are too awesome

Bookie0 (2593)

Yeah it’s an error we don’t know @WaruchJiratanak

ChezCoder (1457)

wow, 42 upvotes!??

:)

i get none :(

Bookie0 (2593)

@ChezCoder yeah, if you want if you wanna do another collab you can release it...
also the leaderboard isnt really working anymore

ChezCoder (1457)

@Bookie0 lol thx :)
really? what happenend?

johnstev111 (229)

@ChezCoder Shame...
I guess you don't know the fact that I've completed a 100 cycle special but have been waiting a whole week and a half and still waiting to release it

Bookie0 (2593)

the login doesnt work for me it does, but for others no.
also the leaderboard isnt working, thers an error message @ChezCoder

ChezCoder (1457)

@Bookie0 ???? everything's working fine for me??? whats the error?

Bookie0 (2593)

humm other people said the login doesnt work @ChezCoder
try making a different game account

Bookie0 (2593)

actually now its working nvm :) @ChezCoder

ETHANADSUNASHEA (1)

@Bookie0 say c is for cashout in the rules plz

Bookie0 (2593)

Well it’s pretty straightforward. I wrote it in the main menu below your diamonds and coins. @ETHANADSUNASHEA

johnstev111 (229)

@Bookie0 It's a true story y'know (I'm not begging or anything)

johnstev111 (229)

@Bookie0 THERE'S A BUG! I EXPLOITED IT AND NOW I'M TOP! REMOVE ME PLS!

johnstev111 (229)

@Bookie0 wops i was caps the whole time wops

Bookie0 (2593)

Lol. Is the leaderboard and login working for you.? @johnstev111

johnstev111 (229)

@Bookie0 Yep! I won't ever exploit that again!

Bookie0 (2593)

Ok I’m happy the login is working = ) @johnstev111

johnstev111 (229)

@Bookie0 It worked earlier... It doesn't work now.... has it been broken?

Bookie0 (2593)

Hum the login should work. Make sure you’re not on another tab and that the password and username is the same. What about the leaderboard, is it good? @johnstev111

johnstev111 (229)

@Bookie0 It says username doesn't exist.

Bookie0 (2593)

Hm that’s weird, sometimes it works, sometimes it doesn’t. Thanks tho @johnstev111

johnstev111 (229)

@Bookie0 I tried signing up and it worked, but when I tried to sign in it said Invalid username or password instead of Username doesn't exist.

Bookie0 (2593)

Maybe, the username or password is wrong. Idk @johnstev111

johnstev111 (229)

@Bookie0 Erm... I could've made a typo... maybe add a comfirm password in signup?

Bookie0 (2593)

Yea..... the project is a bit discontinued tho. But thansk for the suggestion . @johnstev111

johnstev111 (229)

@Bookie0 Ok. BTW, congrats on 2K cycles!

ChezCoder (1457)

@Bookie0 also, fixed the leaderboard

awesome10 (194)

@ChezCoder my best project has pi (3) upvotes...

Rovy (10)

now 53 upvotes but whatever @ChezCoder

[deleted]

I randomly got 1 trillion+ coins and diamonds. Idk if it is a bug or something. From just 2 cards btw.

Bookie0 (2593)

Yeah, maybe it’s a bug, thanks! Can you tell us how you got it? Like what did you click before? @Twitchmmanikan

Bookie0 (2593)

@ChezCoder
Woah check out the leaderboard, I think it’s a bug or something, but some people have very big scores!

[deleted]

@Bookie0 Well, I kept pressing 1.(didn't spam though). After like 3 tries, I went ahead to cash out for the first time, I got the glitch/bug.

[deleted]
Bookie0 (2593)

Ah ok, the bug is fixed. Thanks tho! @Twitchmmanikan

[deleted]

@Bookie0 No problem. Now it's a great game!!!

ChezCoder (1457)

@Bookie0 people are hacking but im deleting hacked accounts

Bookie0 (2593)

Ok.. also apparently, the login system isn’t working even when its the same :( @ChezCoder

Bookie0 (2593)

Do you know how to fix the login? :D @ChezCoder

ChezCoder (1457)

@Bookie0 idk ive tried my best :(

Bookie0 (2593)

Oh well. That’s annoying because this is one of the good things. But it was working before, why isn’t it working now? @ChezCoder

ChezCoder (1457)

@Bookie0 idk. I think people are hacking. The reason why people got errors before was because i needed it to hide a password for security. But because i hid it, other people couldn't access it and i had to set it to a variable instead. Now people are using the secret to hack the server. its ok though, i can just edit the database to make sure no one is hacking.

Bookie0 (2593)

Umm i think its better to prioritize the login system. Even if it makes the passwords vulnerable. Maybe put the passwords in another repl, and then import it...? Bc i think the login system is pretty important. So if people hack, then just take them off i guess. @ChezCoder

awesome10 (194)

@Bookie0 hey i have that bug too whats wrong?

Bookie0 (2593)

Idk, we’’ll check it! @awesome10

Rovy (10)

bug it says syntax error line 24 exit status 1

ShivaSubraman (9)

Not working :( Not know why

Bookie0 (2593)

Yeah, the leaderboard is bugging, but the game should work fine. Just make another account, :) @ShivaSubraman

Rovy (10)

come on it says syntax error

CoDiNgPeRsOn123 (1)

my score is so big I literally broke the leaderboard. my username in the game is @CoDiNgPeRsOn123. You guys have a couple of glitches. Anyway, please fix the leaderboard so my name will be on top and stay there for all of eternity.

bramley (188)

Hey Bookie!
This is a very cool project! However, I think this is a bit too simple for what I think you're capable of. You should strive for improvement every time you post, even if you don't believe you can. A good developer shows that they can grow almost every time and still create quality. You have a lot of the quality, but not so much of the growth, which is where I want to help. I recommend JetBrains Academy (https://www.jetbrains.com/academy/) for a completely free project-based Python learning curriculum. On top of that, back when I was more interested in Python, I used LTHW (https://learnpythonthehardway.org/python3/), which is an expansive guide for all things Python.
All in all, keep up the good work and code your way to the top!
Anthony

Bookie0 (2593)

Oh wow, that’s a big chunk. I totally agree with you, I should improve a lot. The thing is, I don’t have much patience frankly, so yeah I find it hard to concentrate and learn something new. Thank you so much for the links, I’ll definitely use them. And thanks for taking interest in this.

On a side note, This might sound totally crazy, but do you live in New York near a Duane Reade, like were you on ur phone outside? I was passing by, and I’ve seen you on discord VC, and I thought you looked both similar... sorry if this seems intrusive.

Thanks again! :) @bramley

bramley (188)

@Bookie0 Nah man I live in Skokie, IL

Bookie0 (2593)

Oh ok lol I thought I saw someone like you sry @bramley

willstellar (11)

@Bookie0 Yup, Anytime, happy to support good coding!

TheJuiceTin (4)

How did you make the text pop out one letter at a time?Can you tell me please? :D
This is my discord tag: JuiceTin#4393 .

KeinR (1)

Only problem: you can send any score you want to the server...

johnstev111 (229)

@Bookie0 @ChezCoder Bug found. If you have 2 Diamonds and you are on round 10, just hitting enter just doubles your diamonds and nothing else. That's how I got to the top of the leaderboard. Please remove me from there and fix the bug! (I think it's the same with coins too)

Bookie0 (2593)

Hey, thanks! We already found that before; someone told us. But thanks anyways @johnstev111

johnstev111 (229)

@Bookie0 Oh, well. If there are any others, i'll find them soon enough...

ETHANADSUNASHEA (1)

Hey can you make it say c is for cashout in the rules pls

Bookie0 (2593)

Ok, but how did you find the leaderboard? You found it because there was this:

 [L] Leaderboard
[C] Cashout

So i think it’s pretty simple, don’t you think so?

@ETHANADSUNASHEA

ZainJ (10)

Good game only bad thing is the login issue. ik u guys @Bookie0 and @ChezCoder are working on it.

JakubSkop (0)

Im getting this error whenever I look at the leaderboard

File "main.py", line 341, in <module>
scoreboard_data = eval(post("https://PuzzlingGoldenrodCron.chezcoder.repl.co/endpoint",data={"token":"lol123bookiechezcoderX","login_or_signup":"GETDB"}).text)
File "<string>", line 1, in <module>
NameError: name 'null' is not defined

Bookie0 (2593)

@ChezCoder hey, there’s an error with the leaderboard, could you check it please? Thanks!

Bookie0 (2593)

Ok we’ll fix it, thanks! @JakubSkop

Futuristics (40)

@ChezCoder @Bookie0 I picked out a diamond card and won 4 diamonds. Then when I cashed them out, I got 1246 Diamonds and $5000. My Name is @Futuristics in the game.

Bookie0 (2593)

It’s a bug thanks tho! @Futuristics

TimmyChenKid (0)

(My username is The Real Winner Clearly)

TimmyChenKid (0)

There is a hack for your code and I am the top of the leaderboard.

Bookie0 (2593)

@TimmyChenKid we will have to delete hacked accounts

HahaYes (899)

lol i get you and chezcoder mixed up

HahaYes (899)

@Bookie0 I have finally made Day 2 of C++ bootcamp

Bookie0 (2593)

Make sure the password and username are the same, and dont run the code in a new tab, run it on this page @LoganSpong

LoganSpong (44)

@Bookie0 Did that still not working

Bookie0 (2593)

Humm sorry about that, sometimes it works,sometimes it doesn’t. How’s the game? @LoganSpong

cherryolive (0)

When you hold onto enter, it gives you a lot of coins or diamonds depending on what you got last. Just to let you know. It only works on round ten. There is another bug where it doesn't reset your rounds when you cashout. If you get a skull it resets you to round 9.

Wilke000 (345)

I love it, but this happens when I enter my username and password:

Bookie0 (2593)

Make sure you’re not in a new tab when you run it, like run it on this page @IndyCarter

Wilke000 (345)

Yes @Bookie0! Check the leaderboard!

Wilke000 (345)

Now I can't log in again @Bookie0 :(

Bookie0 (2593)

Hum are you sure you’re on the same page? Also make sure it’s exactly the same @IndyCarter

Bookie0 (2593)

Hum well I’m surprised why it doesn’t work @IndyCarter

Bookie0 (2593)

Oh, normally it should work. @HerculukeZeEpic

HerculukeZeEpic (180)

I have been out-glitched and I cannot sign in @Bookie0

Bookie0 (2593)

Yeah it’s a bug. Sry about that @HerculukeZeEpic

Bookie0 (2593)

Uh yes, sometimes there are glitches or bugs... sry abou that @HerculukeZeEpic

HerculukeZeEpic (180)

@Bookie0 no thank you for that!
Look at the leaderboard...

Bookie0 (2593)

Yeah, that’s weird, we might have to remove you bc that’s a bug.. @HerculukeZeEpic

HerculukeZeEpic (180)

@Bookie0 can you just take the extra, I was at 1287

HerculukeZeEpic (180)

This is AWESOME, This is my favorite game on repl.it!
Check the leaderboard ;)