|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Classes in gameLogic used by gameLogic | |
---|---|
Board
This class represents the entire game board through a 2D-array of Square objects. |
|
Brain
This is the interface a participant needs to implement into his or her code. |
|
Direction
This is an enum representing a direction in which a snake can move. |
|
ErrorState
ErrorState is used to check if a Brain has been doing something bad the last turn. |
|
GameObject
This class represents an object that exists on the game board. |
|
GameObjectType
Represents a type of object that may be present on the board. |
|
GameState
The GameState is a representation of the game at a given moment in time. |
|
Metadata
This class contains all the metadata concerning the current game session. |
|
Position
Represents a coordinate (x and y position) on the game board. |
|
Snake
The Snake class is a representation of each snake currently in the game, including its name, its current direction, its position on the game board, and its current statistics. |
|
Square
Objects of this class represent a single square of the game board. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |