ostrat.pchess

package 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

Packages

Type members

Classlikes

object Bishop extends MirrorPiece

Chess Bishop 2D outline.

Chess Bishop 2D outline.

Attributes

Supertypes
trait MirrorPiece
trait Piece
class Object
trait Matchable
class Any
Show all
Self type
Bishop.type
object ChessBoard extends SqGrid

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CmdBarGui
trait CanvasUser
class Object
trait Matchable
class Any
Show all
object ChessLaunch extends GuiLaunchMore

Attributes

Supertypes
trait GuiLaunch
class Object
trait Matchable
class Any
Self type
trait ChessLikeScen extends SqGridScen

Attributes

Supertypes
trait SqGridScen
trait GridTurnScen
class Object
trait Matchable
class Any
Known subtypes
trait DraughtsScen
object DraughtsStart
trait ChessScen
object ChessStart
trait ChessScen extends ChessLikeScen

Attributes

Supertypes
trait SqGridScen
trait GridTurnScen
class Object
trait Matchable
class Any
Show all
Known subtypes
object ChessStart
object ChessStart extends ChessScen

Attributes

Supertypes
trait ChessScen
trait SqGridScen
trait GridTurnScen
class Object
trait Matchable
class Any
Show all
Self type
ChessStart.type
object King extends MirrorPiece

Chess King 2D outline.

Chess King 2D outline.

Attributes

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

Attributes

Supertypes
trait MirrorPiece
trait Piece
class Object
trait Matchable
class Any
Show all
Self type
Knight.type

Symmetrical Chess piece

Symmetrical Chess piece

Attributes

Supertypes
trait Piece
class Object
trait Matchable
class Any
Show all
Known subtypes
object Bishop
object King
object Knight
object Pawn
object Queen
object Rook
Show all
object PBlack extends Player

Attributes

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

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

Attributes

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

Attributes

Supertypes
trait MirrorPiece
trait Piece
class Object
trait Matchable
class Any
Show all
Self type
Pawn.type
sealed trait Piece extends PolygonMemIcon

Chess piece.

Chess piece.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait MirrorPiece
object Bishop
object King
object Knight
object Pawn
object Queen
object Rook
Show all
sealed trait Player extends Coloured

Attributes

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

Chess Queen 2D outline.

Chess Queen 2D outline.

Attributes

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

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

Implicits

Implicits

final implicit def SqCenExtensions(thisSq: SqCen): SqCenExtensions