class Game
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
gameEnded |
protected GameField |
gameField |
protected SecretCode |
secretCode |
protected Settings |
settings |
Constructor and Description |
---|
Game(Settings s)
Constructor with init instructions for new game.
|
Modifier and Type | Method and Description |
---|---|
private Row |
checkActiveRow()
Checks the active game Row.
|
int |
turn()
Aggregates the logic for a game turn.
|
protected boolean gameEnded
protected GameField gameField
protected SecretCode secretCode
protected Settings settings
public Game(Settings s)
s
- Settings for the new game.public int turn()
private Row checkActiveRow()