diff --git a/src/commonMain/kotlin/main.kt b/src/commonMain/kotlin/main.kt index 24804c8..fc3707a 100644 --- a/src/commonMain/kotlin/main.kt +++ b/src/commonMain/kotlin/main.kt @@ -24,6 +24,7 @@ enum class PieceKind(kind: String){ } class Piece(kind: PieceKind, color: RGBA){ + init { if (color == Colors.WHITE){ if (kind == PieceKind.Pawn){