ChessNotationInput3D

class ChessNotationInput3D

ChessNotationInput Converts standard ches notation to Coordinate3D and Coordinate3D, Move3D to readable string format. Is used for console front end.

Constructors

ChessNotationInput3D
Link copied to clipboard
fun ChessNotationInput3D()

Functions

coordinateToStr
Link copied to clipboard
fun coordinateToStr(c: Coordinate3D): String
Takes a Coordinate3D and converts it into standard chess notation.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
moveToStr
Link copied to clipboard
fun moveToStr(move: Move3D): String
Takes a Move3D and converts it to a readable chess notation.
strToCoordinate
Link copied to clipboard
fun strToCoordinate(s: String): Coordinate3D?
Takes a String representation of a coordinate and converts to a Coordinate3D.
toString
Link copied to clipboard
open fun toString(): String