Package gameTypes

Types

AbstractChess
Link copied to clipboard
abstract class AbstractChess<B : Board<B, MG, P, C>, MG : MoveGenerator<B, MG, P, C>, P : Piece<B, MG, P, C>, C : Coordinate>(rules: List<SpecialRules<GameType<B, MG, P, C>, B, MG, P, C>>, endConditions: List<EndCondition<GameType<B, MG, P, C>, B, MG, P, C>>, startPlayer: Int) : GameType2P<B, MG, P, C>
Represents a standard n-player game, which contains no special rules and standard end conditions.
GameType
Link copied to clipboard
interface GameType<B : Board<B, MG, P, C>, MG : MoveGenerator<B, MG, P, C>, P : Piece<B, MG, P, C>, C : Coordinate>
Represents a game variant.
GameType2D
Link copied to clipboard
interface GameType2D : GameType<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>
Implementation of the GameType interface for a standard 2d square board.
GameType2P
Link copied to clipboard
abstract class GameType2P<B : Board<B, MG, P, C>, MG : MoveGenerator<B, MG, P, C>, P : Piece<B, MG, P, C>, C : Coordinate> : GameType<B, MG, P, C>
Represents a standard n-player game, which contains no special rules and standard end conditions.
GameType3D
Link copied to clipboard
interface GameType3D : GameType<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>
Implementation of the GameType interface for a standard 2d square board.