fork download
  1. import pygame
  2. import random
  3.  
  4. # Initialize Pygame
  5. pygame.init()
  6.  
  7. # Screen setup
  8. SCREEN_WIDTH, SCREEN_HEIGHT = 800, 600
  9. screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
  10. pygame.display.set_caption("CreaturaCraft Chronicles")
  11.  
  12. # Colors
  13. WHITE = (255, 255, 255)
  14. BLACK = (0, 0,
Success #stdin #stdout 0.03s 26040KB
stdin
Standard input is empty
stdout
import pygame
import random

# Initialize Pygame
pygame.init()

# Screen setup
SCREEN_WIDTH, SCREEN_HEIGHT = 800, 600
screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
pygame.display.set_caption("CreaturaCraft Chronicles")

# Colors
WHITE = (255, 255, 255)
BLACK = (0, 0,