CIS 3309 Section 1

Homework Assignment HWA 01

Game of Nim Documentation

(Note: Homework should be NEAT and readable!  Homework problems are to be turned in to the instructor, not the lab assistant.. Submit either in class on the due date, or if the course runs online, submit through the HWA 01 column in the Canvas Gradebook. )

Objectives:
1. To provide initial experience with concepts of object-oriented design. 
2. To ensure that some of the key terms that you will see in the text and lecture notes (and in other resources related to C#.NET and Visual Studio) are clearly understood.

NOTE: You are responsible for ALL the reading listed in the Weekly Schedule, for each of the 14
weeks of the course.  For this week, the required readings include

-- the Course Syllabus
-- the Course Guidelines, and
-- the appropriate Lecture Sets and chapters in the Murach text.

 

Assignment:

If it helps you, download a version of the game of Nim from the internet and play it with a friend.  Carefully note each step in the process of playing the game, from start to finish.  Most of this assignment will be done in class.  You simply need to finish the job.

1. Draw the complete Behavior Diagram for the Game of Nim problem discussed in class.  Be sure your diagram is neat and uncluttered but includes all possible paths of progress through the game.

2. Draw a representation of your project Form with appropriate buttons, labels, and textboxes.  Use Hungarian notation for the names of your controls.  (Write the names of your controls on the form you were given.  (Print out the form and then add the names of each control.)

3. Provide complete descriptions of the two classes you need as described in the Game of Nim Project Requirements specifications for the game.

Bring a copy of your work to class by the due date -- one to turn in and another to have handy in class and after.  Much of what is required for this project will have been done in class, but what has been done in class needs to be finished.