Skip to content

Instantly share code, notes, and snippets.

@nasajpledu
Created September 9, 2021 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nasajpledu/8d6bbfd43b09326b7558044d61681853 to your computer and use it in GitHub Desktop.
Save nasajpledu/8d6bbfd43b09326b7558044d61681853 to your computer and use it in GitHub Desktop.
# Initialize pygame
pygame.init()
new_game = Game('Assets/terrain.jpg', SCREEN_TITLE, SCREEN_WIDTH, SCREEN_HEIGHT)
new_game.run_game_loop(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment