From 6042cde5ba5356bf1ab7b4e38f9728c4d462b7e4 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 1 Jul 2017 00:19:50 +0200 Subject: [PATCH] Add .gitignore for hangman worlists, add henne to nerdwords, change hangman list to wordsonly.txt --- .gitignore | 2 ++ hangman.py | 4 ++-- hangman/wordlists/nerdwords.txt | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4326472 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +hangman/wordlists/* +__pycache__/ diff --git a/hangman.py b/hangman.py index 308bf07..39ae4cc 100644 --- a/hangman.py +++ b/hangman.py @@ -47,9 +47,9 @@ class Hangman(object): self._fo_word= (15, -1) #(15, -1) 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/wordsonly.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._gamestate=0# 0=start 1=ingame 2=lose 3=win self._g_word="test" #word diff --git a/hangman/wordlists/nerdwords.txt b/hangman/wordlists/nerdwords.txt index 0303abd..9494fa0 100644 --- a/hangman/wordlists/nerdwords.txt +++ b/hangman/wordlists/nerdwords.txt @@ -844,3 +844,4 @@ Arduino Nodalpunktadapter Informationslebenszyklusmanagement desoxyribonukleinsaeure +Henne