Documentation

Colour : string
in package

Enumeration of possible player colours in a chess game.

Table of Contents

Cases

Black  = 'Black'
White  = 'White'

Methods

opposite()  : self
Return the opposite colour

Cases

Methods

opposite()

Return the opposite colour

public opposite() : self
Return values
self

        
On this page

Search results