Skip to content

Instantly share code, notes, and snippets.

@SmashedFrenzy16
Created February 14, 2022 16:48
Show Gist options
  • Save SmashedFrenzy16/b33dcc5bef8ac2331c0a3e1f1d62bdd5 to your computer and use it in GitHub Desktop.
Save SmashedFrenzy16/b33dcc5bef8ac2331c0a3e1f1d62bdd5 to your computer and use it in GitHub Desktop.
A circle made in Pygame.
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