how to add a stopwatch to pygame?
问题 I am making a game about falling circles and the player, which is basically a square, has to avoid them. The code is almost done but I have a problem with how to add a stopwatch to the game on the window? I have no idea where to put this type of code can anyone help me? I have all of the code done except for the stopwatch. import pygame from pygame.locals import * import os import random import math import sys import time white = (255,255,255) blue = (0,0,255) gravity = 10 size =10 height =