Friday, May 21, 2010

This Q is to produce a Java program, which will implement a game called “The COW Game” and?

Problem description


You will implement a game called “The COW Game”. The idea of the game is to guess the same random


string that the program has generated, and guess how many attempts it will take you to get it right.


For each game we create a random three character string, and at the start of each game the user


enters the number of attempts they think it will take them to win that particular game. Users will then


try to guess the sequence of the letters and on each consecutive guess receives a message indicating


how close their guess is to the correct String.


• A “W” indicates that they don’t have any characters right.


• One or more “O”s indicates that they have a correct character/s, but in the incorrect position/s.


• Finally, one or more “C”s indicates that they have the correct character/s in the correct position/s.


The following table gives an example of the game’s output for a user guess.


User Guess Output


EDF W


HGB O


AHI C


AHB CO


CHJ O


BCG OO


CBA COO


ABC CCC

This Q is to produce a Java program, which will implement a game called “The COW Game” and?
Ok, so what do you have so far? Show us what you have, and one of us can help you work through it.





Or did you want someone to actually answer your homework problem FOR you?





I'll HELP you, but I won't DO it for you.
Reply:The posted question is a major Assignment task, and the Lecturer for this course is now aware of this post.


No comments:

Post a Comment