📝 Renaming

This commit is contained in:
Nikolaj Danger
2020-07-31 16:45:12 +02:00
parent 819497adc1
commit 562e4ae4f4
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import json
from . import draw4InARow
from . import 4InARowDraw
from funcs import logThis
# Starts the game
@ -18,7 +18,7 @@ def fourInARowStart(channel, user, opponent):
with open("resources/games/games.json", "w") as f:
json.dump(data,f,indent=4)
draw4InARow.drawImage(channel)
4InARowDraw.drawImage(channel)
return "Started game. It's "+user+"'s turn", True, False, False
else:
@ -64,7 +64,7 @@ def placePiece(channel : str,player : int,column : int):
with open("resources/games/games.json", "w") as f:
json.dump(data,f,indent=4)
draw4InARow.drawImage(channel)
4InARowDraw.drawImage(channel)
return message, True, True, gameWon
else:
return "There isn't any room in that column", True, True, False