Skip to content

Instantly share code, notes, and snippets.

View songquanpeng's full-sized avatar
🙃
I want to code something really impressive.

JustSong songquanpeng

🙃
I want to code something really impressive.
View GitHub Profile
import random
import time
from sys import exit
import pygame
from pygame.locals import QUIT, KEYDOWN, K_UP, K_DOWN, K_LEFT, K_RIGHT
random.seed(int(time.strftime('%H%M%S', time.localtime(time.time()))))