eaglelandsonce commited on
Commit
5539f52
1 Parent(s): 01ba92e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -19
app.py CHANGED
@@ -2,12 +2,8 @@ import streamlit as st
2
  import json
3
  import matplotlib.pyplot as plt
4
  import time
5
- import pygame
6
 
7
 
8
- # Initialize Pygame
9
- pygame.init()
10
-
11
 
12
 
13
  # Set up game clock
@@ -152,21 +148,6 @@ def main():
152
  if hin_number:
153
  st.write("HIN number details...") # Placeholder for actual HIN number check
154
 
155
-
156
- while running:
157
- # Handle events
158
- for event in pygame.event.get():
159
- if event.type == pygame.QUIT:
160
- running = False
161
- # Update game state here
162
- # Render game state to screen
163
- print("hellow") # Fill the screen with black
164
-
165
- # Cap the frame rate to 60 frames per second
166
- clock.tick(1)
167
- # Quit Pygame
168
- pygame.quit()
169
- sys.exit()
170
 
171
 
172
  if __name__ == "__main__":
 
2
  import json
3
  import matplotlib.pyplot as plt
4
  import time
 
5
 
6
 
 
 
 
7
 
8
 
9
  # Set up game clock
 
148
  if hin_number:
149
  st.write("HIN number details...") # Placeholder for actual HIN number check
150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
 
152
 
153
  if __name__ == "__main__":