*

VB Objects: The Magic 8 Ball - Week 1

8 Ball

We'll call this one "The Evolution of an 8 Ball"...

You've been approached by a client to create a Magic 8 Ball application using VB6.  The client has provided you with the canonical list of 8 Ball responses, as well as some image files.  For those of you who may be unfamiliar with what a Magic 8 Ball is, it's a toy that when you shake it (or at least roll it around a bit), will display a 20-sided polyhedron (bonus points for the proper name of a 20-sided polyhedron!) that randomly gives "answers".  Remember: it's a toy and should not be taken seriously.

Your task:  impress the client.  Using every possible VB6 skill you have at this point, create the Magic 8 Ball application.

Here's the canonical list of responses:

"Signs point to yes"
"Yes"
"Reply hazy, try again"
"Without a doubt"
"My Sources Say No"
"As I see it, yes"
"You may rely on it"
"Concentrate and ask again"
"Outlook not so good"
"It is decidedly so"
"Better not tell you now"
"Very doubtful"
"Yes - definitely"
"It is certain"
"Cannot predict now"
"Most likely"
"Ask again later"
"My Reply is no"
"Outlook good"
"Don't count on it"

And here's the version I came up with*.



Internet Content Rating Association Valid CSS!

Alrak's Course Resources ©2002-2007 Karla Carter. All rights reserved. This material (including, but not limited to, Mini-lectures and Challenge Labs) may not be reproduced, displayed, modified or distributed without the express prior written permission of the copyright holder. For permission, contact Karla.