import pygame from pygame.locals import * import sys pygame.init() BLACK = (0,0,0) RED = (255,0,0) GREEN = (0,255,0) BLUE = (0,0,255) WHITE = (255,255,255) screen = pygame.display.set_mode((600, 600)) clock = pygame.time.Clock() Dia_font = pygame.font.SysFont("arial", 30) Name_Font = pygame.font.SysFont("Helvetica", 40) GameO_font = pygame.font.SysFont("Verdana", 60) Dia = Dia_font.render(":D", True, BLACK) Name = Name_Font.render("Moki Man", True, GREEN) Game = GameO_font.render("Game Over :3", True, RED) while True : for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit() screen.fill(WHITE) screen.blit(Dia, (60,60)) screen.blit(Name, (60,210)) screen.blit(Game, (60,360)) pygame.display.flip() clock.tick(60)