packt.java9.by.example.mastermind

## Class Game

- java.lang.Object
- - packt.java9.by.example.mastermind.Game

-     public class Game
      extends java.lang.Object

  A Game maintains a secret and a table and when there is a new guess it stores it setting the position and colors matched.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Game(Table table, Color[] secret)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isFinished()`
    `void` | `newGuess(Row row)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Game

          public Game(Table table,
                      Color[] secret)

  - ### Method Detail

    - #### newGuess

          public void newGuess(Row row)

    - #### isFinished

          public boolean isFinished()