CSC 326 Assignment 4

Object-oriented Mastermind in Java

Fall 1999

Due: November 10, 1999


Convert your C++ Mastermind program (see Assignment 3) into a Java application (not applet). If your original solution was not sufficiently object-oriented, you may start with the solution in \\eccentric\download\csc326\example mastermind solution

Text I/O is not trivial in Java. Recall that we recently developed in class a simple program to input and output strings. You'll find it useful in coding the methods that receive user input and issue messages and feedback: \\eccentric\download\csc326\EchoInput.java

PCs in the CSC labs have JDK (Sun's Java Development Kit). If you want to install it on your home machine, you can download JDK from java.sun.com or, if you have a Zip drive, copy the installation files from \\eccentric\CSCTOOLS.

Make sure your "main" method is in file master.java. I will grade these using JDK.

To turn in: Collect the .class and .java files into a folder called JavaMaster, and submit it to your eccentric upload folder for csc326.

 


[Assignments | CSC 326 | Peter Sanderson | Computer Science | SMSU ]


Last reviewed: 5 November 1999

Peter Sanderson ( PeteSanderson@mail.smsu.edu )