mirror of
https://github.com/csd4ni3l/notifplayground.git
synced 2026-01-01 04:23:47 +01:00
Add demo GIF, Hot Air Baloon, add a way to customize notification timeout, rows and columns, make main menu buttons smaller, fix tetris not updating info label after restart
This commit is contained in:
@@ -2,7 +2,6 @@ import arcade, arcade.gui, time, random, os, json
|
||||
|
||||
from plyer import notification
|
||||
|
||||
from utils.constants import ROWS, COLS
|
||||
from utils.preload import words
|
||||
|
||||
class Game(arcade.gui.UIView):
|
||||
@@ -17,6 +16,9 @@ class Game(arcade.gui.UIView):
|
||||
|
||||
self.running = True
|
||||
|
||||
with open("settings.json", "r") as file:
|
||||
self.settings = json.load(file)
|
||||
|
||||
if not os.path.exists("data.json"):
|
||||
self.data = {}
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user