Open AmberWilliamson opened 6 years ago
From Bailey:
+import pygame +import time +import random +from pygame import font + +pygame.init() + +white = (255, 255, 255) +black = (0, 0, 0) +red = (200, 0, 0) +brightRed = (255, 0, 0) +green = (0, 200, 0) +brightGreen = (0, 255, 0) +blue = (0, 0, 200) +brightBlue = (0, 0, 255) +orange = (255,69,0) +brightOrange = (255,127,80) + +blocky = 10 +FPS = 30 + +WIDTH = 800 +HEIGHT = 600 + +font = pygame.font.SysFont(None, 25) + +clock = pygame.time.Clock() + +gameDisplay = pygame.display.set_mode((WIDTH, HEIGHT)) + +def message_to_screen(msg, colour):
+def custom_message(msg, colour, theX, theY):
+def mainMenu():
+def snake(blocky, snakeList):
+def gameLoop():
+mainMenu()
Coding