← Back to Community
Mini Games Beta!!!
Profile icon
h
has Hacker Plan
Dart

Ok so me and @Warhawk947 have been working on this for a while and I think its finally ready to push out into a beta version!

This was a big project we started in 2018

There may be bugs! (beta release)

Big thank you to @HazTheWaz for play-testing! (ur cool :3)

Huge thanks to @Warhawk947 who had to deal with my questions and weird ideas as well as programming the log in system and helping with the database as well

Also thanks to @Zavexeon for some help with the database and what not

Leave your comments and discoveries as i read all of them!

Thanks for checking out my post!

-Dart

Voters
Profile icon
pipythonmc
Profile icon
DJWang
Profile icon
PatrickDinning
Profile icon
CodingRobot
Profile icon
NathanSt1
Profile icon
William_Arnold
Profile icon
WinDogePlays
Profile icon
croco8
Profile icon
CannoliCoder
Profile icon
DLHarryO
Comments
hotnewtop
Profile icon
TonyDonahue

If you hold down enter on slots it breaks everything

Profile icon
Dart

I am sorry about the error guys, @RomeroSchwarz attempted to fix the env ill change it back. please be aware that the json store client is public and can be tampered with, ill have to run a server for the game next time (as advised by MrEconomical)

Profile icon
DJWang

Screen Shot 2020-02-28 at 6.25.24 PM

Explain please

Profile icon
LOLInteresting

@DJWang also experienced this prob. Forked this already, looking for a fix RN

Profile icon
AdamJanuszewsk1

@LOLInteresting rest in pepperonis

Profile icon
LOLInteresting

@AdamJanuszewsk1 I am busy in other stuffs man. Will be looking at this thing ASAP

Profile icon
AdamJanuszewsk1
Profile icon
AdamJanuszewsk1
Profile icon
Dart

@LOLInteresting please do not use inappropriate words in the comments!

Profile icon
LOLInteresting
Profile icon
Dart

@DJWang try again (forgot the Client() around the token)

Profile icon
Dart

@DJWang fixed sorry for the wait!

Profile icon
NodeJSAcc

Um .. it didnt save when i rerun is it meant to lol...

Profile icon
Navinor

oh god i need to re write the login function

Profile icon
Navinor

man the nostalgia

Profile icon
PowerCoder

Use my account PowerCoder. (It's rich!) (It has 2407 coins.)

Profile icon
DBassett28

Great Work

Profile icon
DJWang

Screen Shot 2020-02-29 at 6.56.59 PM

I got this after I created new user and entered name. :P

Profile icon
JacksonSmith2

Traceback (most recent call last):
File "main.py", line 51, in
slot_client = Client(token) #do the get env thing
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.8/site-packages/json_store_clie
nt/init.py", line 83, in init
raise TypeError("Token must be str, not {}".format(token.class.name))
TypeError: Token must be str, not NoneType

Profile icon
mahcarze1

umm, somethings broken when i tried it
It said that a token must be str, not {}, mind fixing it?

Profile icon
AgastyaSandhuja

it raises an error:
Traceback (most recent call last):
File "main.py", line 51, in
slot_client = Client(token) #do the get env thing
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.8/site-packages/json_store_client/init.
py", line 83, in init
raise TypeError("Token must be str, not {}".format(token.class.name))
TypeError: Token must be str, not NoneType
probably because it cannot access the .env file without one of the owners opening it

Profile icon
NashAlber

yeet

Profile icon
RomeroSchwarz

Hey, it looks like someone cleared the jsonstore. Can't get into my account, idk about other people. Do you need help with an env file?

Profile icon
Dart

@RomeroSchwarz yea (the full game isn’t out and I was planning on getting a fresh dB anyway)

Profile icon
RomeroSchwarz

@Zexogon I can help if needed. Invite to multiplayer?

Profile icon
Dart

@RomeroSchwarz you’ll have to talk to @Warhawk947 unless you want to wait for me to get home so we can chat on discord

Profile icon
Navinor
Profile icon
Coder100

Nice!

Profile icon
HackermonDev

You're a moderator?

Profile icon
Dart
Profile icon
staticvoidliam7

how do u become admin?

Profile icon
Navinor

@LiamDonohue you'll have to ask @Zexogon

Profile icon
CodeSalvageON

Embed it onto a webpage and make it have music

Profile icon
staticvoidliam7

I suggest adding passwords so people cant access other people's accounts

Profile icon
Navinor

@LiamDonohue in beta

Profile icon
[deleted]

cool, but why are there 4 empty lines at the start?

Profile icon
Dart

@Thecrowbar1234 Warhawk and I had comments there and I deleted them

Profile icon
Pandapip2

Found a bug: If you log in with an invalid username, then don't update the account, then this happens:

L O G I N
Enter your username: No
An error occured. Please try again later. Are you sure this username/password exists?

update account? y/n

n
Traceback (most recent call last):
File "main.py", line 129, in
startm = info['money']
TypeError: 'NoneType' object is not subscriptable

Profile icon
Dart

@Pandapip2 i-i mean your supposed to update the account thats the whole point

Profile icon
Pandapip2

@Zexogon And if you don't?

Profile icon
Dart

@Pandapip2 then your account dosent have the new data required to run the game?

Profile icon
Pandapip2

@Zexogon I entered a nonexistent account.

Profile icon
Dart

@Pandapip2 oh i didnt read the first thing right, yea thats still a little buggy and we're working on it

Profile icon
Pandapip2

@Zexogon also, how do you buy the fish?

Profile icon
Dart

@Pandapip2 in the shop when you have enough coins :>

Profile icon
Pandapip2

@Zexogon how many coins

Profile icon
Dart
Profile icon
Pandapip2

@Zexogon might want to nerf the card game. Just got about 150 coins in 10 seconds.

Profile icon
Dart

@Pandapip2 again beta version

Profile icon
Pandapip2

@Zexogon lool rip lost 1k coins by typing menu into something expecting an int. please wrap the content inside your loops with try/excepts.

Profile icon
Dart

@Pandapip2 will do

Profile icon
SixBeeps

imageWent in with 85, came out with 86

Profile icon
AlexanderTarn

This is just a casino

Profile icon
AdCharity

:/ you can use .env yet you put the json store out in the open

Profile icon
Dart

@AdCharity if you dont have access to the env it wont use the file

Profile icon
AdCharity

@Zexogon but you put your db in the open

Profile icon
AdCharity

@Zexogon regardless of .env the key is there and people can send it requests

Profile icon
Dart

@AdCharity python is weird and when you do the getenv if you cant edit the code it wont get the variables from the env file

Profile icon
AdCharity

@Zexogon wut no I mean store the json key part in the .env and just move it over tho. Also achievements not achivements :P

Profile icon
Dart

@AdCharity i know ;-; we tried to fix it and we couldnt so im just gonna let it happen (its only the beta and i have backups)

Profile icon
AdCharity
Profile icon
Dart

@AdCharity thats what i mean if you store the json key in the env it wont grab the json key if you open it in a new tab or from the post

Profile icon
AdCharity
Profile icon
Navinor
Profile icon
theangryepicbanana

@Warhawk947 please try not to link to your personal discord server, even for projects like this (seeing how that first one is the same server you have linked in your profile)

Profile icon
Dart

@Warhawk947 yea you can promote it in the repl discord tho I think there is a channel for promoting things

Profile icon
Navinor
Profile icon
kurrycat2004

Nice game. But i dont know if im just bad or if its a bug that i never got it right in the coin toss game. I have -1110 coins right now xD

Profile icon
kurrycat2004

@kurrycat2004 ok lol. If i keep pressing backspace i get an absurd amount of negative coins

Profile icon
Dart

@kurrycat2004 if you press anything other than h or t it takes a coin away press m to go back to the menu (ill probobly fix that)

Profile icon
kurrycat2004

@kurrycat2004 i have exactly -10000 coins

Profile icon
Dart
Profile icon
kurrycat2004

@Zexogon yeah i cant win that game on phone because of autocompletion or idk. I have to press enter to even make it register that i typed something

Profile icon
Dart

@kurrycat2004 if the letter is capital it wont work (another thing i have to fix)

Profile icon
Dart

@kurrycat2004 you can always create a new account

Profile icon
Dart

first one to buy the fish deco thing gets a cookie

Profile icon
Dart

@WYLDYR with admin perms tho

Profile icon
Pandapip2

@Zexogon Bought the fish deco. Where's my cookie?

Profile icon
Dart

@Pandapip2 have a cookie 🍪

Profile icon
Pandapip2

@Zexogon document.cookie = "wheresmycookie=itsheretoobaditsexpired; expires=Thu, 01 Jan 1970 00:00:00 UTC";

Profile icon
Dart
Profile icon
Pandapip2

@Zexogon It might be a lot, but maybe you should consider making it a flask application? It would look a lot cooler. Also, you could legitimately give me a cookie.

Profile icon
Dart

@Pandapip2 i may try it and a digital cookie is just as good

Profile icon
Pandapip2

@Zexogon Tasted too bitty.

Profile icon
Dart

@Pandapip2 i mean it was a chocolate bit cookie (im sorry)

Profile icon
Pandapip2

@Zexogon Tasted quite 11111001101101010.