I am also making a game that requires the same countdown. This is what I came up with/ stole. Replace the 60 with how ever long you want the timer to be.
import sys
import time
def countdown(timer):
while timer > 0:
timer -= 1
time.sleep(1)
sys.stdout.flush()
countdown(60)