From ce3978e62aec71794550849ff3f672778bf6c179 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 20 May 2017 20:52:44 +0200 Subject: [PATCH] changed font_size to 9 --- FlipdotSender.py | 2 +- hangman.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FlipdotSender.py b/FlipdotSender.py index 51ae798..b91faa1 100644 --- a/FlipdotSender.py +++ b/FlipdotSender.py @@ -20,7 +20,7 @@ class FlipdotSender(object): lastimgmap = [] - def __init__(self, udphost, udpport, img_size=(80,16), font_size=8, font_size_scroll=12, + def __init__(self, udphost, udpport, img_size=(80,16), font_size=9, font_size_scroll=12, font_offset1=(0,0), font_offset2=(0,8), #font_family='/usr/share/fonts/gnu-free/FreeMono.ttf', font_family='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf', diff --git a/hangman.py b/hangman.py index 50306df..308bf07 100644 --- a/hangman.py +++ b/hangman.py @@ -48,6 +48,7 @@ class Hangman(object): self._fo_word2= (15, 7) #(15,7) #self._wordlist="/home/pi/mqtt-to-flipdot/hangman/wordlists/nomenliste_de.txt" #self._wordlist="/home/pi/mqtt-to-flipdot/hangman/wordlists/crodict_nomen.txt" + self._wordlist="/home/pi/mqtt-to-flipdot/hangman/wordlists/nerdwords.txt" #self._wordlist="./hangman/wordlists/nerdwords.txt" #<- use for local testing self._gamestate=0# 0=start 1=ingame 2=lose 3=win