Have a working program at all times and add to it as

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The top- level class of your program must be called Game. It must have a constructor that takes a boolean value as its parameter. The boolean value is used for running the game in the testing mode until you are finished. If it is true, then the secret code is revealed throughout the game. The Game class must also have a method named runGame that carries out the actual games. Your main method creates and uses a new Game object for each game played. When finished turn in a .java file named assign2.java that contains all the files needed for your program to be compiled and run. Include all the source code for all the classes you created. Recall when designing a program in an object oriented way you should consider implementing a class for each type of entity you see in the problem. For example...
View Full Document

This document was uploaded on 03/16/2014 for the course EE 422c at University of Texas at Austin.

Ask a homework question - tutors are online