Implemented the basic count-down functionality for the mini-games.