This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jakejakey's profile picture

Blackjack Deluxe

Started by jakejakey, 30 January 2018 - 01:28 AM
jakejakey #1
Posted 30 January 2018 - 02:28 AM
Have you ever opened a CC computer only to think, I wish I could play blackjack on this? No? Well I have the solution, Blackjack Deluxe for CC!



Installation:
pastebin run M2LvDE93

Screenshots:




Known Glitches:
Spoiler- Betting negatively and busting allows you to give yourself money.
- Insurance option is not given when dealer showing ace.
- Face cards cannot be split if they are not the same cards.
- Game analysis shows a pixel for a certain outcome even though it didn't happen.

Feedback is encouraged, but since it is on pastebin I will likely not update it frequently.
Thanks! Hope you enjoy it!

- Jake
Bomb Bloke #2
Posted 30 January 2018 - 03:46 AM
Under MC1.8 or later, you can draw the suit symbols using characters:

print("\3 \4 \5 \6") --# ♥ ♦ ♣ ♠
Saldor010 #3
Posted 30 January 2018 - 04:41 AM
Wow, this looks impressive! I'm gonna have to give it a try later :)/>
jakejakey #4
Posted 30 January 2018 - 05:01 PM
Under MC1.8 or later, you can draw the suit symbols using characters:

print("\3 \4 \5 \6") --# ♥ ♦ ♣ ♠
Argh yes, I always forget about special characters.
LDDestroier #5
Posted 30 January 2018 - 07:10 PM
You should probably fix the bit where you can bet negative money.
Other than that, the screenshots display what looks to be a pretty blackjack game. I like the color palate. I'll have to see what it plays like later.
jakejakey #6
Posted 01 February 2018 - 06:11 PM
You should probably fix the bit where you can bet negative money.
Other than that, the screenshots display what looks to be a pretty blackjack game. I like the color palate. I'll have to see what it plays like later.
Thanks for the suggestion, I'll probably upload it to github so it is easier to update.