Currently the step function in the custom environment is missing the is_done and evaluate functions from the game, but these cant be made until the winning_move function and the is_tie function is made so they take an action as input. This is because the is_legal function needs to know which column to the player wants to place the piece in and if we change the game state, then we cant check for legal move anymore, since that move might have used the last row in that column or have been an illegal move.
Currently the step function in the custom environment is missing the is_done and evaluate functions from the game, but these cant be made until the winning_move function and the is_tie function is made so they take an action as input. This is because the is_legal function needs to know which column to the player wants to place the piece in and if we change the game state, then we cant check for legal move anymore, since that move might have used the last row in that column or have been an illegal move.