Share your repls and programming experiences

← Back to all posts
a simple slot machine
Name12

this is a simple slot machine that uses coding languages for slots. make sure to enjoy yourself when playing. make sure to leave an upvote if you like it, leave an image in the comment if you got a jackpot or 3 of the same kind, and, like always, make sure to give me advice on how I can improve this.

Voters
dabs364
Name12
Comments
hotnewtop
willisidi

Damn, I would love to be able to program a whole casino! That would be amazing! I've always dreamt of something like this, but I was never able to accomplish it. I don't know if I have the necessary time or resources for this, but maybe one day this is going to come true. Until then, I will continue playing on https://luckycasino9.com and steal some secrets from them in order to make my own casino haha. I don't even know any programming language, but I should be able to learn it. We are living in the era of technology and nothing is impossible if you set some goals

[deleted]

After...too many tries:

Name12

@GoofyGus wow!! congratulation!!

Name12

@GoofyGus and just, by the way, my friend made a rigged version that when you got a jackpot, it automatically respin without noticing you so you basically never ger a jackpot.

Name12

@GoofyGus but, as you might have already figured out, I didn't use that version on this post.

[deleted]

That sounds like something I would do, but I checked the code to make sure that there was a way to win. @Name12

Name12

@GoofyGus ok
I added a spin counter
now you don't have to manually keep track of how many spins you made

[deleted]

That would be cool @Name12, I have a feeling I spun it over a hundred times

Name12

@GoofyGus yah. that's very likely. according to my calculation, there's a chance of around 1 percent that you would get a jackpot. so it will take around 100 spins to get it (around. not exactly 100, more or less. just you get what I mean)