Mini Games Beta!!!
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
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)
@DJWang also experienced this prob. Forked this already, looking for a fix RN
@LOLInteresting rest in pepperonis
@AdamJanuszewsk1 I am busy in other stuffs man. Will be looking at this thing ASAP
@LOLInteresting oh, ok..
@LOLInteresting please do not use inappropriate words in the comments!
Um .. it didnt save when i rerun is it meant to lol...
oh god i need to re write the login function
man the nostalgia
Use my account PowerCoder. (It's rich!) (It has 2407 coins.)
Great Work
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
umm, somethings broken when i tried it
It said that a token must be str, not {}, mind fixing it?
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
yeet
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?
@RomeroSchwarz yea (the full game isn’t out and I was planning on getting a fresh dB anyway)
@Zexogon I can help if needed. Invite to multiplayer?
@RomeroSchwarz you’ll have to talk to @Warhawk947 unless you want to wait for me to get home so we can chat on discord
@RomeroSchwarz ok, sure! Try this link: https://repl.it/join/gtfubgkj-zexogon
Nice!
You're a moderator?
how do u become admin?
@LiamDonohue you'll have to ask @Zexogon
Embed it onto a webpage and make it have music
I suggest adding passwords so people cant access other people's accounts
@LiamDonohue in beta
cool, but why are there 4 empty lines at the start?
@Thecrowbar1234 Warhawk and I had comments there and I deleted them
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
@Pandapip2 i-i mean your supposed to update the account thats the whole point
@Pandapip2 then your account dosent have the new data required to run the game?
@Pandapip2 oh i didnt read the first thing right, yea thats still a little buggy and we're working on it
@Pandapip2 in the shop when you have enough coins :>
@Pandapip2 1000
@Pandapip2 again beta version
@Pandapip2 will do
This is just a casino
:/ you can use .env yet you put the json store out in the open
@AdCharity if you dont have access to the env it wont use the file
@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
@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)
@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
join the support server!: https://discord.gg/5XGuCkE or https://discord.gg/wzj5ZcY
@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)
@Warhawk947 yea you can promote it in the repl discord tho I think there is a channel for promoting things
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
@kurrycat2004 ok lol. If i keep pressing backspace i get an absurd amount of negative coins
@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)
@kurrycat2004 i have exactly -10000 coins
@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
@kurrycat2004 if the letter is capital it wont work (another thing i have to fix)
@kurrycat2004 you can always create a new account
first one to buy the fish deco thing gets a cookie
@Pandapip2 have a cookie 🍪
@Pandapip2 >w>
@Pandapip2 i may try it and a digital cookie is just as good
@Pandapip2 i mean it was a chocolate bit cookie (im sorry)
If you hold down enter on slots it breaks everything