MrCypher 7 tháng trước cách đây
mục cha
commit
cfc5c068b6
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      GUI.py

+ 4 - 1
GUI.py

@@ -1,7 +1,6 @@
 import customtkinter as ctk
 import json
 from PIL import Image, ImageTk
-
 import asyncio
 from bleak import BleakScanner
 from bleak import BleakClient
@@ -25,6 +24,10 @@ async def connect():
     return target_address
 
 currentScore = 30
+highestScore = 0
+
+if currentScore < highestScore :
+    highestScore = currentScore
 
 async def main():
     await connect()