Comp 151 Project 4

A Guessing Game


You will implement a simple numeric guessing game.

Due: Friday March 4th at 11:59pm


You will need to write your guessing game according to the following UML.

UML class diagram for project 4

public static void main(String[] args){
    Scanner userInput = new Scanner(;
    GuessingGame myGame = new GuessingGame(userInput);

Additinal restrictions:
To help you get in the habit of good program writing, I am imposing the following additional restrictions on your program.


again zip up your project folder and submit it to me by email. Make sure that your submitted zip file contains your first initial and last name as part of the zip file name.