Can anyone explain what this piece of code do and how and why it is there in the game?

board[guess_row][guess_col] = "X"


it will update the coordinate on the board with a X, showing the user what coordinates they already guessed, and you can use it to verify the user already attempted this coordinates.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.