java guessing number game – www.savvyessaywriters.net
java guessing number game – www.savvyessaywriters.net
Java-Guessing Number Game
For this assignment you will write a program which will allow a person to play a number guessing game against the computer. This section specifies the required functionality of the program. Only a text interface is required for this program; however, more marks will be gained for a game that is easy to follow with clear information/error messages to the player.
The aim of Gue55ing Game is for a person and the computer to compete against other to correctly guess a hidden number.
A game consists of four rounds. For each round a number between 1 and 100 (inclusive) is randomly generated and the players (person and computer) take turns to guess the number. The round ends when the correct guess is given or each player has had three guesses.
If a player guesses the number correctly then they are awarded points according to how many attempts were taken to guess the number. If the round ends without either player guessing correctly then the points are awarded to each player according to how close they were to the hidden number.
At the end of the four rounds the player with the highest cumulative score wins the game.
Savvy Essay Writers
