--- /dev/null
+from setup import *
+
+
+is_running = True
+
+while is_running:
+ screen.fill(Colour.WHITE)
+
+
+ if pygame.event.peek(pygame.QUIT):
+ is_running = False
+
+ pygame.display.update()
import json
+import pygame
+import random
+
+# word list from https://github.com/dwyl/english-words
with open("pruned_words.json", 'r') as f:
word_list = json.load(f)
+
+
+
+pygame.init()
+# SCREEN_WIDTH, SCREEN_HEIGHT = 720, 720
+# dimensions = pygame.Vector2(SCREEN_WIDTH, SCREEN_HEIGHT)
+# center = pygame.Vector2(SCREEN_WIDTH/2, SCREEN_HEIGHT/2)
+screen = pygame.display.set_mode((0,0), pygame.RESIZABLE)
+
+pygame.display.set_caption("Word Hunt")
+
+
+class Colour:
+ WHITE = (255,255,255)