What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-15 08:34:06
python pygame
1 # Simple pygame program 2 3 # Import and initialize the pygame library 4 import pygame 5 pygame.init() 6 7 # Set up the drawing window 8 screen = pygame.display.set_mode([500, 500]) 9 10 # Run until the user asks to quit 11 running = True 12... Add solution -
Other 2021-10-01 10:24:05
pygame simple game
1 # Simple pygame program 2 3 # Import and initialize the pygame library 4 import pygame 5 pygame.init() 6 7 # Set up the drawing window 8 screen = pygame.display.set_mode([500, 500]) 9 10 # Run until the user asks to quit 11 running = True 12... Add solution -
Python 2021-09-06 23:16:02
pygame examples
1 # Simple pygame program 2 3 # Import and initialize the pygame library 4 import pygame 5 pygame.init() 6 7 # Set up the drawing window 8 screen = pygame.display.set_mode([500, 500]) 9 10 # Run until the user asks to quit 11 running = True 12... Add solution -
Other 2021-08-27 21:57:02
pixelart pygame
# Simple pygame project for pixelart import pygame screen = pygame.display.set_mode((1280, 720)) pixelart_surface = pygame.Surface((512, 288)) running = True while running: pixelart_surface.fill((0, 0, 0)) for event in pygame.event.get(): if eve... Add solution
Best helpers
Bad Dog
+5
Legion123
+5
Shawn Wang
+5
LBushkin
+5
OgWestside
+5
Mlevin
+5
Darah
+5
V. G.
+5
PeerPaso
+5
Tae-gon Kim
+5
Jacques27
+5
E meyr
+5
Jude Angione
+5
Human
+5
Aeth
+5