This commit is contained in:
NikolajDanger
2020-08-13 17:29:44 +02:00
parent 4f30c6a196
commit bff486ca7f
2 changed files with 2 additions and 4 deletions

View File

@@ -197,7 +197,6 @@ class HexGame():
else: else:
return "There's no game in this channel", False, False, False, False return "There's no game in this channel", False, False, False, False
# Returns a board where the placement has occured # Returns a board where the placement has occured
def placeOnHexBoard(self, board,player,position): def placeOnHexBoard(self, board,player,position):
# Translates the position # Translates the position
@@ -220,7 +219,6 @@ class HexGame():
logThis("Cannot place on existing piece (error code 1532)") logThis("Cannot place on existing piece (error code 1532)")
return "Error. You must place on an empty space." return "Error. You must place on an empty space."
# After your move, you have the option to undo get your turn back #TimeTravel # After your move, you have the option to undo get your turn back #TimeTravel
def undoHex(self, channel, user): def undoHex(self, channel, user):
game = self.bot.database["hex games"].find_one({"_id":channel}) game = self.bot.database["hex games"].find_one({"_id":channel})