All pastes #715208 Raw Edit

Something

public text v1 · immutable
#715208 ·published 2007-09-26 03:11 UTC
rendered paste body

/**
 * The core of the Hangman game.
 * 
 * @author Leon Traill
 * @version 0.01
 */
public class GameSystem
{
    private Dictionary dictionary;
    private Word word;
    
    /**
     * Main shit
     */
    public static void main(String[] args)
    {
        GameSystem game = new GameSystem();
    }
    
    public GameSystem()
    {
    }
    
    public void startGame()
    {
        // Call methods to display the number of dashes for a word, round number, text saying "Game started"
        // Ask Word what to display in terms of dashes
        // When a user takes a guess, check it with Word
        System.out.println(Dictionary.currentWord);
    }
    
    public void endGame()
    {
        // End game based on number of rounds (10)
    }
    
    public void currentScore()
    {
        // Keep count of score, based on win or lose
    }

}