Framework for Hangman

This commit is contained in:
NikolajDanger
2020-08-07 17:38:47 +02:00
parent e0e74f5bc0
commit 5839cd5a8f
12 changed files with 270 additions and 7 deletions

View File

@@ -251,7 +251,9 @@ def stopServer():
with open("resources/games/hexGames.json", "w") as f:
json.dump(emptyDict,f,indent=4)
with open("resources/games/hangmanGames.json", "w") as f:
json.dump(emptyDict,f,indent=4)
def deleteGame(gameType,channel):
with open("resources/games/games.json", "r") as f: