diff --git a/funcs/games/fourInARow.py b/funcs/games/fourInARow.py index c06afa3..53bddc0 100644 --- a/funcs/games/fourInARow.py +++ b/funcs/games/fourInARow.py @@ -101,7 +101,7 @@ def placePiece(channel : str,player : int,column : int): data["4 in a row games"][channel]["win direction"] = winDirection data["4 in a row games"][channel]["win coordinates"] = winCoordinates - message = getName(data["4 in a row games"][channel]["players"][won-1])+" won." + message = getName(data["4 in a row games"][channel]["players"][won-1])+"placed a piece in column "+str(column+1)+" and won." winAmount = int(data["4 in a row games"][channel]["difficulty"])**2+5 if data["4 in a row games"][channel]["players"][won-1] != "Gwendolyn": message += " Adding "+str(winAmount)+" GwendoBucks to their account." diff --git a/funcs/games/hex.py b/funcs/games/hex.py index 49a9215..5962855 100644 --- a/funcs/games/hex.py +++ b/funcs/games/hex.py @@ -155,12 +155,12 @@ def placeHex(channel : str,player : int,position : str): logThis("It's Gwendolyn's turn") gwendoTurn = True - # draw the board - #fourInARowDraw.drawImage(channel) - # hexDraw() # something something + # Update the board + drawHexPlacement(channel,player,position) + return message, True, True, gameWon, gwendoTurn else: - # Invalid move, and "board" is the error message + # Invalid move. "board" is the error message message = board return message, True, True, False, False else: