added timer behavior to game