Computercraft Multiplayer Blackjack
Vložit
- čas přidán 23. 06. 2024
- Computercraft Multiplayer Blackjack.
A video explaining how to set up my new multiplayer blackjack for computercraft and the required bank system.
Github:
github.com/MavricMC/CC-Blackj...
Join the discord if you have any questions.
Hope you enjoy. - Hry
finally my gambling addictions needs can be met in minecraft
Just one more diamond. You can win it all back
Love the vid man, have u got any more games planed like slot machines or so?
Thanks, glad you enjoyed.
Finishing up a project at the moment then I'm going to work on another casino game. Most likely slot machines. Need to up my pixel art game though.
Hello, in the mirror screen i insert the pin and it stops working. can you help me?
Hi there.
Does the balance request show up on the server? This issue is most often caused by the device having the wrong server id so the request is never received by the server.
Make sure to run id on the server to get it's id and update the setting on the blackjack.
Hopefully this fixes it but if not let me know.
Thanks, it works now!
Time to get rich on my server with a casino
Glad it helped.
Hope you enjoy and good luck on your casino empire.
Can it be set up to just play blackjack with a friend on different monitors, no need for the card or pin?
This wouldn't be difficult. It would just require the removal of the code that gets the users bet and gives the users their winnings. I will send you a pastebin link with the code tomorrow with the code.
Also I can send you an explanation to setup just 2 players if that would better suit your need.
Here is a Pastebin with the code:
pastebin.com/rxAW2N9R
@@MavricMC thank you :). Also, I have a few reports:
- The "Double" option seems to be a bit buggy, sometimes it does not work how it should, but i do not remember out of my head what exactly broke
- When the game is finished, there is no delay between the dealer's turn and a new round, making it difficult to see the result.
Sometimes, the communication between computers gets "mish-mashed", meaning one computer interferes with another one and seeing the other's screen instead of it's own (maybe a CC bug? Our servers is mostly 19TPS, i double checked the setup). We fixed this by inserting card/pin/bet amount one by one.
Hi there, thanks for the feedback.
If you could get a bit more detail on the double issue that would be great.
If the 2 second sleep at the end is to short you can always increase it unless something has gone wrong in the conversion causing a bigger issue. If so let me know.
I tried to code the betting as asynchronous as possible but I wasn't able to test it with multiple people at the same time. Either it's down to some flaw in my code that I missed or it's a cc problem. Either way would need lots of debugging and testing fixes. May get fixed in future but I'm a bit busy with other projects at the moment.
Once again thanks for the feedback and enjoy playing with your friends.