added docstring
fixed url
This commit is contained in:
parent
3f1207a5cd
commit
6266d99451
1 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
"""
|
||||
Small Tetris game for the fluepdot modules
|
||||
"""
|
||||
# requires: python-fluepdot python-dotenv pynput
|
||||
|
||||
import random
|
||||
import time
|
||||
from fluepdot import Fluepdot, Mode
|
||||
|
@ -256,5 +261,5 @@ class Tetris:
|
|||
|
||||
if __name__ == "__main__":
|
||||
log.info(f'Connecting to fluepdot at {config["DOTS_HOST"]}')
|
||||
game = Tetris(config["DOTS_HOST"])
|
||||
game = Tetris(f'http://{config["DOTS_HOST"]}')
|
||||
game.run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue