Griffith Designs

Archive for September 27th, 2010

AS2 Game Card Base Deck

by webmasterjunkie on Sep.27, 2010, under Actionscript, Programming

I made a flash based holdem game for a friend a while ago, and had this posted on my old blog, so figured I would repost the whole thing.

First, create the card arrays.

1
2
var cardSuits:Array = new Array ("Hearts", "Clubs", "Diamonds", "Spades");
var cardSigns:Array = new Array ("A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K");

Continue reading “AS2 Game Card Base Deck” »

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Connect