    May 2018

 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

FEEDS

ARCHIVES

RECENT ENTRIES

OTHER BLOGGERS

AGGREGATORS

SOCIAL NETWORKS  :: 03/30/2007 :: Math Counts - the Math Quiz Bowl in Flex and AIR  The Math Quiz Bowl is a simple example combining some Flex 2 techniques (playing an event-based MP3, scaling images, and the DisplayShelf by Ely Greenfield) and the ActionScript Math class (Math.ceil, Math.floor, and Math.round) presented in a quirky card game. Operands, Operators, Oh My!

Try the Flex 2 example here

You will need the AIR Runtime

This is just a simple game to test your math skills in a fun environment.

In this game, there are 54 cards per deck (52 plus two jokers) - all layed out according to their importance in many games (e.g. Ace's are the highest and Two's are the lowest). Based on the math calculation, the card that matches the result (1 - 54 for each deck) is displayed. Multiple decks of cards are possible depending on the math caclulation. In other words, 2 * 56 = 112, so this would be the 4th card in the third deck of cards (1st deck: 54, 2nd deck: 108, so 112 would be 4 cards into the 3rd Deck).

In mathematics, as well as in computer langauges, expressions consist of two types of components: operands and operators. Operands are the objects that are manipulated and operators are the symbols that represent specific actions. For example, in the expression 5 + 1, 5 and 1 are operands and + is an operator.  