Could it be at all possible to make a starcraft map that is a poker game? (Preferably Texas Hold'em) A six person tournament, everyone starts out with $800. Blinds are 10/15 for the first 10 hands. Then they increase from there...
I'm just wondering if this would be at all possible, because you would something to generate 52 random numbers and not have any repeat numbers (because each umber would stand for a different card)
I'd be more then willing to help with the creation of this map...but I do not know if it is possible.
Please reply to this with your thoughts on the subject.
yes, it would be posible im pretty sure. a little bit complicated for making all the combos and everything but if you got it bug free, everyone would like it.
You can't unless you use the NUmber Digit system I am writing. It would just take way too many triggers/death counts/switches to make every single possible number in the game.
My system can have 1 million separate numbers all packed into 70 triggers instead of 1 million triggers.
[center]Of course it's possible. Russian Roulette, Chess, almost everything you can think of has been made, you just gotta use some tricky triggers.[/center]
I was actually planning to make 5-Card Draw at one point. Never got around to it though.
A while ago i had an idea for an Open Card game, which would have different card options so you could play any card game you wanted, never made it though
I think that if you made a successful bug free map of Texas Hold'em...you would go down in Starcraft history.
Heck yea it would, i play it all the time... in fact I'd be up to making it.
"I think that if you made a successful bug free map of Texas Hold'em...you would go down in Starcraft history."
How so?
I don't know the exact rules of the game, but there are many, many, MANY ways of coming up with randomized numbers or variables, including some that would allow you to not allow duplicates.
I had already mentally planned out all the triggers for the randomization and stuff, I just got lazy and never actually mapped anything.
I played a SC game of that Card game Hearts, it worked well.
I tried writing the code for this on my calculator once. It was quite easy to randomly generate cards and to insure that no card was dealt twice. But I couldnt figure how to make it so it could detect say a Straight Flush. I could figure out how to do it using a if/then for every possible combination, but that would take way too long, and thousands of lines of code. Anyone care to tell me how to do it without so much writing?
----------------------------------------------------------------------------------------------------------------
Hmm, it would be possible to do the cad ditribution system. like the randomization of which cards you get. but idk how you would get it to understand who won the game. Becuase of the style of texus hold em how would it know whihc hand you were tryen to make? if you get it to work gj man, id really like to play. But i deffinitly think it would be a hard build. also you would have to keep track of whihc cards have been used and which havent.
----------------------------------------------------------------------------------------------------------------
For the straight flush it is simple. First check if there is a flush, then check if there is a straight that simple. If both return true you got a straight flush.
Now for the harder thing for texas hold 'em what cards were used. I would do it with the cards being units, and then at the end when you have to make a hand you would choose 5 of the 7 units in some sort of choosing fashion. Then to see who won well you need to do every hand type possible starting from straight flush. The last part is the real time eater.