added docstring

fixed url
This commit is contained in:
KS_HTK 2025-08-21 10:56:04 +02:00
parent 3f1207a5cd
commit 6266d99451
Signed by: KS_HTK
GPG key ID: A12528D4094FF70C

View file

@ -1,3 +1,8 @@
"""
Small Tetris game for the fluepdot modules
"""
# requires: python-fluepdot python-dotenv pynput
import random import random
import time import time
from fluepdot import Fluepdot, Mode from fluepdot import Fluepdot, Mode
@ -256,5 +261,5 @@ class Tetris:
if __name__ == "__main__": if __name__ == "__main__":
log.info(f'Connecting to fluepdot at {config["DOTS_HOST"]}') log.info(f'Connecting to fluepdot at {config["DOTS_HOST"]}')
game = Tetris(config["DOTS_HOST"]) game = Tetris(f'http://{config["DOTS_HOST"]}')
game.run() game.run()