ChessScen

ostrat.pchess.ChessScen
trait ChessScen extends ChessLikeScen

Attributes

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

Members list

Value members

Abstract methods

Inherited methods

def defaultView(pxScale: Double): SGView

Attributes

Inherited from:
SqGridScen

Attributes

Inherited from:
ChessLikeScen
override def title: String

Attributes

Definition Classes
Inherited from:
ChessLikeScen

Abstract fields

val turn: Int

The turn number. This will normally start at 0. The player will then give their instructions for turn 1. The scenario will take these orders / instructions and return the new game state at turn 1.

The turn number. This will normally start at 0. The player will then give their instructions for turn 1. The scenario will take these orders / instructions and return the new game state at turn 1.

Attributes

Implicits

Inherited implicits

implicit val gridSys: ChessBoard.type

This gives the structure of the square grid. It contains no data about the elements of the grid. But it allows the scenario to create and operate on flat arrays of data.

This gives the structure of the square grid. It contains no data about the elements of the grid. But it allows the scenario to create and operate on flat arrays of data.

Attributes

Inherited from:
ChessLikeScen