ostrat.pchess

This is a package for Chess and Draughts (also known as Checkers). It has been included in the main Strat library, as useful to have code. Because they are finished games, with established rules and iconography. As opposed to applications like GOne, GTwo etc, which are super simple games merely created for the teaching of the use use of the ostrat libraries. And also as opposed to the games in the Dev module which are intended to be developed into interesting games which may at some point have their own individual repositories.

Attributes

Members list

Concise view

Type members

Classlikes

object Bishop extends MirrorPiece

Chess Bishop 2D outline.

Chess Bishop 2D outline.

Attributes

Graph
Supertypes
trait Piece
class Object
trait Matchable
class Any
Self type
Bishop.type
object ChessBoard extends SqGrid

Attributes

Graph
Supertypes
class SqGrid
trait TGrid
trait SqGridSys
trait TGridSys
class Object
trait Matchable
class Any
Self type
case class ChessGui(canv: CanvasPlatform, scen: ChessScen) extends CmdBarGui

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class CmdBarGui
class Object
trait Matchable
class Any
object ChessLaunch extends GuiLaunchMore

Attributes

Graph
Supertypes
trait GuiLaunch
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ChessScen
object ChessStart.type
object DraughtsStart.type
trait ChessScen extends ChessLikeScen

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ChessStart.type
object ChessStart extends ChessScen

Attributes

Graph
Supertypes
trait ChessScen
class Object
trait Matchable
class Any
Self type
object King extends MirrorPiece

Chess King 2D outline.

Chess King 2D outline.

Attributes

Graph
Supertypes
trait Piece
class Object
trait Matchable
class Any
Self type
King.type
object Knight extends MirrorPiece

Attributes

Graph
Supertypes
trait Piece
class Object
trait Matchable
class Any
Self type
Knight.type

Symmetrical Chess piece

Symmetrical Chess piece

Attributes

Graph
Supertypes
trait Piece
class Object
trait Matchable
class Any
Known subtypes
object Bishop.type
object King.type
object Knight.type
object Pawn.type
object Queen.type
object Rook.type
object PBlack extends Player

Attributes

Graph
Supertypes
trait Player
trait Coloured
class Object
trait Matchable
class Any
Self type
PBlack.type
case class PPiece(player: Player, piece: Piece)

Player Piece

Player Piece

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object PWhite extends Player

Attributes

Graph
Supertypes
trait Player
trait Coloured
class Object
trait Matchable
class Any
Self type
PWhite.type
object Pawn extends MirrorPiece

Attributes

Graph
Supertypes
trait Piece
class Object
trait Matchable
class Any
Self type
Pawn.type
sealed trait Piece extends PolygonMemIcon

Chess piece.

Chess piece.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Bishop.type
object King.type
object Knight.type
object Pawn.type
object Queen.type
object Rook.type
sealed trait Player extends Coloured

Attributes

Graph
Supertypes
trait Coloured
class Object
trait Matchable
class Any
Known subtypes
object PBlack.type
object PWhite.type
object Queen extends MirrorPiece

Chess Queen 2D outline.

Chess Queen 2D outline.

Attributes

Graph
Supertypes
trait Piece
class Object
trait Matchable
class Any
Self type
Queen.type
object Rook extends MirrorPiece

Attributes

Graph
Supertypes
trait Piece
class Object
trait Matchable
class Any
Self type
Rook.type
implicit class SqCenExtensions(thisSq: SqCen)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

Implicits

Implicits

final implicit def SqCenExtensions(thisSq: SqCen): SqCenExtensions