PieceType
dicechess.engine.domain.Models$package.PieceType
object PieceType
Represents chess piece types corresponding to dice values.
Values are 1: Pawn, 2: Knight, 3: Bishop, 4: Rook, 5: Queen, 6: King.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PieceType.type
Members list
Value members
Concrete fields
Extensions
Extensions
extension (pt: PieceType)
Returns the lowercase FEN character for this piece type (e.g. "n" for Knight).
Returns the lowercase FEN character for this piece type (e.g. "n" for Knight).
Attributes
The dice roll value that selects this piece type (1 = Pawn … 6 = King).
The dice roll value that selects this piece type (1 = Pawn … 6 = King).
Attributes
In this article