okay so i am very new to java, and my teacher is not offering much help. i have an outline of how my java program should look but i still need help!!!!!!!!!!!!!!!!!! by the way max misses is 3, and words im testing are landslide and air and fight. any pointers will help me out!!!!!!!!!!!!! and remember im noob

package c1581.lab9;

/**
* The word-guessing game hangman.
*/
public class Hangman {

/**
* Create a new game with the specified word to be guessed.
* <code>maxMisses</code> is the maximum number of misses allowed.
* @require <code>maxMisses &gt; 0</code>
*/
public Hangman (String word, int maxMisses) {
}

/**
* The word to be guessed.
*/
public String word () {
return null;
}

/**
* The maximum number of misses allowed.
*/
public int maxMissesAllowed () {
return 0;
}

/**
* Guess the specified letter.
*/
public void guess (char letter) {
}

/**
* The word with the correctly guessed letters shown. Letters not
* yet guessed are shown as hyphens (<code>-</code>).
*/
public String correct () {
return null;
}

/**
* Erroneous guesses. Letters either are not in the word, or guessed
* more than once.
*/
public String lettersMissed () {
return null;
}

/**
* The game is over.
*/
public boolean gameOver () {
return false;
}

/**
* The game has been won.
*/
public boolean gameWon () {
return false;
}

I am confused and need to solve this problem. Please any one help

First write down pseudo code , how hangman game should work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.