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
Download the AIR 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. |