show an x on screen at startup

This commit is contained in:
Nicholas Dyer 2023-02-19 15:22:48 -05:00
parent df02992225
commit 8ce77656ae

View File

@ -1,3 +1,5 @@
import time
import pygame
@ -15,6 +17,12 @@ def main():
window = pygame.display.set_mode((720, 720), pygame.FULLSCREEN)
rainbow_pos = 0
window.fill((0, 0, 0))
pygame.draw.line(window, (255, 255, 255), (0, 0), (720, 720), 5)
pygame.draw.line(window, (255, 255, 255), (0, 720), (720, 0), 5)
pygame.display.flip()
time.sleep(1)
running = True
while running:
clock.tick(60)