Wyo VB Ch8Proj1 "Create your own Class"

Write a Bot class that includes the following items. The class must include a default constructor. The class must include 4 or more properties with modifiers and accessors for each property. The class must also have 2 other "interesting" methods that modify or make use of the properties to manipulate a Bot object. Write a client class (i.e. a form) that declares 1 or more module-level Bot objects. Your client program must use or test each of the two "interesting" methods so that the instructor can tell that the methods work properly. Instead of a Bot class, you may define a class that could be used in your proposed game project.

Preconditions:

  • None

Your program must follow the Coding Standards. Save the project file as Ch8Proj1.vb and save the class as Bot.vb. The whole project must be saved in a newly created folder named Ch8Proj1 within your network Basic folder.

Staple your printouts in the following order:

  1. The Bot class source code (i.e. the class code).
  2. The Ch8Proj1 form code (i.e. the client code).