Hello! Everybody
I love game, specially card games Taxes holdEM, Blackjack, Solitaire, roulette etc. but how can i create these games in flash using actionscripting 2.0. I search a lot on web, but nothing found useful to start.
help me please. Give me any useful link or tutorial how to create these game.
check out the following, Where i could manage to hold all the cards in the array, but got stuck what to do next? means visually, or game. your help is solicited.
function newDeck():Array{
var values:Number = 13;
//Hearts, Diamonds, Spades, Clubs
var suits:Array = ['H', 'D', 'S', 'C'];
var Deck:Array = [];
for(var s=0; s<suits.length; s++){
for(var v=1; v<=values; v++){
Deck.push({value:v, suit:suits[s]});
}
}
return Deck;
}
var Deck:Array = [];
Deck = newDeck();
for(var i=0; i<Deck.length; i++){
trace("value: " + Deck*.value +" -- "+ Deck*.suit);
}