There's the play timer which counts up from 0:00 (and only really makes sense in Timed and Sprint mdoes), but the time bar is the one that ends the game. It's constantly draining and gets refilled when you match things. The rate it drains at increases with each lap.