//Solitaire/de.syntaktischer.zucker.Solitaire
Name | Summary | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Board | [jvm] Content data class Board(pegs: MutableMap<Pair<Int, Int>, Peg>, moves: Int) More info A representation of the solitaire boardThe game board consists out of pegs and holes A peg is present (1), a hole is present (0) and we are outside the board boundary (-1) Layout: |
————————————— | 1 | -1 | -1 | 1 | 1 | 1 | -1 | -1 | -1 | ————————————— | -1 | -1 | -1 | 1 | 1 | 1 | -1 | -1 | -1 | ————————————— | -1 | -1 | -1 | 1 | 1 | 1 | -1 | -1 | -1 | ————————————— | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ————————————— | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | ————————————— | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ————————————— | -1 | -1 | -1 | 1 | 1 | 1 | -1 | -1 | -1 | ————————————— | -1 | -1 | -1 | 1 | 1 | 1 | -1 | -1 | -1 | ————————————— | -1 | -1 | -1 | 1 | 1 | 1 | -1 | -1 | -1 | ————————————— | |||||||||||||||||||
BoardFactory | [jvm] Content object BoardFactory |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BoardType | [jvm] Content enum BoardType : Enum<BoardType> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Command | [jvm] Content interface Command |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ConsoleGame | [jvm] Content object ConsoleGame |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Direction | [jvm] Content enum Direction : Enum<Direction> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GameController | [jvm] Content class GameController(game: PlayableGame) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GameSolver | [jvm] Content class GameSolver |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GameState | [jvm] Content data class GameState(board: Board, type: BoardType, moves: Int) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GameStateUtils | [jvm] Content object GameStateUtils |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GameUtils | [jvm] Content object GameUtils |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GUI | [jvm] Content class GUI |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GUIUtils | [jvm] Content object GUIUtils |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MoveEast | [jvm] Content class MoveEast(game: PlayableGame, fromPosX: Int, fromPosY: Int) : UndoableCommand |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MoveManager | [jvm] Content class MoveManager(game: PlayableGame) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MoveNorth | [jvm] Content class MoveNorth(game: PlayableGame, fromPosX: Int, fromPosY: Int) : UndoableCommand |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MoveSouth | [jvm] Content class MoveSouth(game: PlayableGame, fromPosX: Int, fromPosY: Int) : UndoableCommand |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
MoveWest | [jvm] Content class MoveWest(game: PlayableGame, fromPosX: Int, fromPosY: Int) : UndoableCommand |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Peg | [jvm] Content data class Peg(id: Int, value: PegType, i: Int, j: Int) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PegType | [jvm] Content enum PegType : Enum<PegType> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PlayableGame | [jvm] Content class PlayableGame(type: BoardType) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Reset | [jvm] Content class Reset(game: PlayableGame) : Command |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Solitaire | [jvm] Content class Solitaire |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
UndoableCommand | [jvm] Content interface UndoableCommand : Command |