Simply chess clock 'emulator'.
This scripts may be used as a replacement for the classical chess clock. It counts down time left for each player. After run you have to set the time, that each player has. Then hit 'enter'. The counter is ready.
Counter starts, when the fist player press his button. Where is the button? Well - for Player A the button is almost whole left side of the keabord (QWERASDFZXCV) and for Player B its right side (UIOPHJKLNM,.).
Each time player pressess his button, his counter stops and the secound player's counter runs.
IMPORTANT!!! - On most computers NumLock have to be off while using the script (it sends 300 code to pygame all the time).
The code is licensed under Poetic License (by Alexander E Genaud):
This work 'as-is' we provide.
No warranty express or implied.
We’ve done our best,
to debug and test.
Liability for damages denied.
Permission is granted hereby,
to copy, share, and modify.
Use as is fit, free or for profit.
These rights, on this notice, rely.
- Home Page