Merge branch 'master' into deploy
This commit is contained in:
commit
606207d27c
|
@ -20,7 +20,7 @@ class FlipdotSender(object):
|
||||||
|
|
||||||
lastimgmap = []
|
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_offset1=(0,0), font_offset2=(0,8),
|
||||||
#font_family='/usr/share/fonts/gnu-free/FreeMono.ttf',
|
#font_family='/usr/share/fonts/gnu-free/FreeMono.ttf',
|
||||||
font_family='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf',
|
font_family='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf',
|
||||||
|
|
|
@ -48,6 +48,7 @@ class Hangman(object):
|
||||||
self._fo_word2= (15, 7) #(15,7)
|
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/nomenliste_de.txt"
|
||||||
#self._wordlist="/home/pi/mqtt-to-flipdot/hangman/wordlists/crodict_nomen.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="/home/pi/mqtt-to-flipdot/hangman/wordlists/nerdwords.txt"
|
||||||
#self._wordlist="./hangman/wordlists/nerdwords.txt" #<- use for local testing
|
#self._wordlist="./hangman/wordlists/nerdwords.txt" #<- use for local testing
|
||||||
self._gamestate=0# 0=start 1=ingame 2=lose 3=win
|
self._gamestate=0# 0=start 1=ingame 2=lose 3=win
|
||||||
|
|
Loading…
Reference in New Issue