PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: CrazyGuy on 27 January, 2007, 01:47:10

Title: BlackJack
Post by: CrazyGuy on 27 January, 2007, 01:47:10
This is a lua version of the original casino's Blackjack game (betting not included)

The game plays in mainchat as follows:


That's basically it, Enjoy  ;D
Attached is the script
Title: Re: BlackJack
Post by: ??']['??l? on 27 January, 2007, 09:51:50
Just tested this script and allthought its lua 5.1.1, it works in my hub.... :) :) :)
There`s no errors in ptokax script editor and everything seems to work at this far..... :D
Thanks man for this great game, my "casino" is now ready to run...
Maybe that texas hold`em would be next... ;)

Title: Re: BlackJack
Post by: CrazyGuy on 27 January, 2007, 20:08:38
Yes it would be, although I'll have to dive some deeper into the actual scoring table for Texas Hold 'Em.
Besides that, I don't think poker is fun without betting, so you'll need a cash register as well ;)

For a complete casino hub, I think the way to go is this:

Games run in the own chat/gameroom
There's a cash register where people can "buy" chips.
And maybe some OPs running around as security so no1 cheats  ;D

But thats the big picture, first to see if Blackjack runs stable like this  :)
I've made a small update to the BlackJack script

It will now hide the house's points, which kinda gave away the hidden card, until the house starts to play.
Attached is the updated file.