When I thought of doing a Chess Clock with Arduino, the goal was to build using simple programming without use class and work with the AVR register. The base used was Arduino Reference. The most difficult thing was to manipulate the timer using only the Arduino millis (). The idea is the project can be useful by the beginner students of the Arduino.”

Link