![]() |
VB Objects: The Magic 8 Ball - Week 2Now that you have your great little Magic 8 Ball program, some of your friends are saying that they would like to have the ability to make one for their clients. Sadly, your friends are not as experienced with VB as you are and cannot figure out how to randomize the responses. The friends have no problem creating the user interface - it's just the elemental logic of the 8 Ball internals they cannot grasp. They have asked if you can provide them with a code library - much like the code libraries Microsoft has provided with Excel and Word and PowerPoint, etc. They can take this library and program their own custom UI against it. So, what we need to do first is figure out what the 8 Ball does: are there any adjectives or nouns that can be applied to its logic? How about verbs? It's probably most helpful to sketch it out on paper or do up something in PowerPoint. I've attached a [wildly unattractive] ppt slideset* of what I've done. 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. |