# Guess word

Page 1 of 1

## 2 Replies - 5925 Views - Last Post: 05 May 2008 - 02:54 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=51037&amp;s=a4ea91ce4f4f95a26c83cfa7013da7cf&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 [email protected]

Reputation: 0
• Posts: 1
• Joined: 04-May 08

# Guess word

Posted 04 May 2008 - 11:42 PM

You are required to develop a word guessing game (similar to the game commonly known as
“hangman”). The game works by having a secret word. The aim of the game is to guess the
secret word by guessing the characters in the word, one at a time

String word
char[] soFar

Methods to be used are:
Game(String)
getWord():String
getWordSoFar(): String
guess(char): int
gameOver(): boolean
Is This A Good Question/Topic? 0

## Replies To: Guess word

### #2 Todilo

Reputation: 3
• Posts: 86
• Joined: 13-November 07

## Re: Guess word

Posted 05 May 2008 - 12:13 AM

[email protected], on 4 May, 2008 - 11:42 PM, said:

You are required to develop a word guessing game (similar to the game commonly known as
“hangman”). The game works by having a secret word. The aim of the game is to guess the
secret word by guessing the characters in the word, one at a time

String word
char[] soFar

Methods to be used are:
Game(String)
getWord():String
getWordSoFar(): String
guess(char): int
gameOver(): boolean

And you have done what? Need help with what? You get help here, the work should be done by YOU.

### #3 1lacca

• code.rascal

Reputation: 44
• Posts: 3,822
• Joined: 11-August 05

## Re: Guess word

Posted 05 May 2008 - 02:54 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.