chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.model / PieceType

PieceType

enum class PieceType

Represent a type of a chess piece

Author Felix Dimmel

Enum Values

PAWN Piece type pawn
KING Piece type king
QUEEN Piece type queen
BISHOP Piece type bishop
KNIGHT Piece type knight
ROOK Piece type rook

Functions

getDrawCode abstract fun getDrawCode(): String
getMatchCode abstract fun getMatchCode(pieceColor: PieceColor): String