Well, I am working on a flash based poker game just for the heck of it. There is a lot more math involved in this than I would like, but it is turning out very well.
I wish I would have done more planning in the beginning, but I do enjoy a challenge. I am finding that I have to go back and change some things in order for them to be more functional later in the game. Anyway, I found it really hard to find some of the code that I was going to use, so had to make my own. Here is the code to make a deck:
![]() |
![]() |
![]() |
| 1 | var cardSuits:Array = new Array ("Hearts", "Clubs", "Diamonds", "Spades"); | |
| 2 | var cardSigns:Array = new Array ("A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"); | |
![]() |
![]() |
![]() |






