« Smallville | Main | Creating a Flash Card Deck »

Flash Based Holdem Poker

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");  

TrackBack

TrackBack URL for this entry:
http://www.crisgriffith.com/cgi-bin/mt/mt-tb.cgi/53

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on April 22, 2008 5:13 AM.

The previous post in this blog was Smallville.

The next post in this blog is Creating a Flash Card Deck.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.34