Chess clock
by Mathias Benedek
25 Nov 2007
(Updated 21 Jan 2008)
Digital chess clock with variable time limit and optional extra time per move
|
Watch this File
|
| File Information |
| Description |
You have a chess board but no chess clock is at hand?
This simple function displays the remaining time for each player as well as the actual round. The currently active timer is indicated by its bold font.
You can set variable time limits per player and an optional extra time per move.
Press the space bar to switch the active timer.
Press Escape to pause or exit.
It will not give you the feeling of punching a real chess clock, but it may serve as a substitute if needed
- and my opponents usually insist to use one when playing with me... |
| MATLAB release |
MATLAB 7.2 (R2006a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 26 Nov 2007 |
John D'Errico
|
|
|
| 05 Dec 2007 |
John D'Errico
|
|
|
| Updates |
| 03 Dec 2007 |
Reviewer suggestions are now implemented: No globals, first line of help contains useful description, more comments to the code.
Minor debugging: e.g. extra time is added at the beginning of the move (and not at the end) |
| 21 Jan 2008 |
A bug was fixed. |
|
Contact us at files@mathworks.com