tile-dropping game to get four in rowsimilar to connect four view this code at tagslargegameboard gametwo-player"" import sys constants used for displaying the board empty_space period is easier to count than space player_x ' player_o ' noteupdate displayboard(column_labels if board_width is changed board_width board_height column_labels (' '' '' '' '' '' '' ' assert len(column_labels=board_width def main() print("""four in rowby al sweigart al@inventwithpython com two players take turns dropping tiles into one of seven columnstrying to make four in row horizontallyverticallyor diagonally """ set up new game gameboard getnewboard( playerturn player_x while truerun player' turn display the board and get player' move displayboard(gameboard playermove askforplayermove(playerturngameboard gameboard[playermoveplayerturn check for win or tie if iswinner(playerturngameboard) displayboard(gameboarddisplay the board one last time print('player playerturn has won!' sys exit( elif isfull(gameboard) displayboard(gameboarddisplay the board one last time print('there is tie!' sys exit( switch turns to other player if playerturn =player_x playerturn player_o elif playerturn =player_o playerturn player_x def getnewboard()four in row