Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
StandardChessClocks


NAME

StandardChessClocks - standard implementation of ChessClocks

SYNOPSIS

PROCEDURE Create(VAR chessclock: ChessClocks.ChessClock;
                 pot: Shards.Pot;
                 nofplayers: SHORTINT;
                 timelimit: Times.Time);

DESCRIPTION

StandardChessClocks provides a standard implementation of ChessClocks that is based upon Clocks.system.

Create creates a new chess clock for nofplayers players and the given timelimit which must be a relative time measure. The lids that are passed to ChessClocks.Start, ChessClocks.Stop, and ChessClocks.Switch will be checked against pot.

SEE ALSO

ChessClocks
general interface for chess clocks

Edited by: borchert, last change: 2004/04/23, revision: 1.1, converted to HTML: 2004/04/23

Oberon || Library || Module Index || Search Engine || Definition || Module