Created
February 14, 2022 16:48
-
-
Save SmashedFrenzy16/b33dcc5bef8ac2331c0a3e1f1d62bdd5 to your computer and use it in GitHub Desktop.
A circle made in Pygame.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
pygame.init() | |
screen = pygame.display.set_mode([500, 500]) | |
running = True | |
while running: | |
for event in pygame.event.get(): | |
if event.type == pygame.QUIT: | |
running = False | |
screen.fill((255, 255, 255)) | |
pygame.draw.circle(screen, (0, 220, 140), (255, 255), 60) | |
pygame.display.flip() | |
pygame.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment