getPieces

abstract fun getPieces(): List<Pair<P, C>>

Returns a list of pairs of all pieces and the corresponding coordinate that the piece is placed on

Return

a list of pairs representing which coordinate each piece is on

abstract fun getPieces(player: Player): List<Pair<P, C>>

Returns a list of pairs of all pieces that a given player owns and the corresponding coordinate that the piece is placed on

Return

a list of pairs representing which coordinate each piece is on for the given player