Proud member of the sinister Smart Goat keiretsu.

 Permanent link to: Day 21: Making  Day 21: Making "Cents" of it All

March 18, 2003 11:52 PM

I finished a beta version of a little Flash game for the Mensa site today. The functionality is pretty simple -- it picks three coin types (pennies, nickles, dimes, quarters, half dollars) and a random number between 1 and 21. It tells you the total amount, and you have to figure out how many coins were used to get that total.

There's still at least three things I need to do with this. First (and most significant) is the formatting of the total. There doesn't appear to be a built-in function in ActionScript for formatting currency, and the one freebie I found on the internet didn't work. I'll play with this some more and hopefully get it working tomorrow. Number two on my list of things to fix is the fact that you have to press the 'Submit' button -- no pressing enter from the text box. And finally, I'd like to add a nice little 'Loading' animation at the beginning. Speaking of animation, it wouldn't hurt for it to do a little something for a correct answer.

I took the background from IStockPhoto -- I didn't know til last week they gave away a free weekly royalty-free photo. I've decided, in the interest of expanding my designing portfolio, to use as many of their free photos as possible. I think that'll keep me from doing the same sort of "safe" designs all the time.

Smart Goat
Crafty Goat
Central Oklahoma Mensa
Jon's Site
Slashdot
Techbargains
Camworld
WWDN
Arts & Letters Daily
A List Apart
Zeldman
Doc Searls
Dan Gillmor
Engadget
Lawrence Lessig
Technorati Profile
 


January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
 

 

Valid XHTML 1.0!

Valid CSS!

Movable Type

Browse Happy logo