Question: please help me do this (use Python only) Create a Tic-tac-toe board game Requirements 1) Generate a representation of a 3 by 3 grid of
Create a Tic-tac-toe board game Requirements 1) Generate a representation of a 3 by 3 grid of boxes in the Python Shell window to be used as a Tic-tac-toe game board. 2) Create a Python list to hold the status ('X', 'O', or unused). The list can be a one dimensional representing the boxes 0-8, or a two dimensional representing rows 0-2 and columns 0-2. The unused value in the array can be a blank space, " (empty string), None, or something else you choose. 3) Display a message that indicates which player's turn it is. Players can be denoted as 1 or 2; X or O; or some other notation that you derive. 4) Get input for the first player's move. Entry can be row and column, box number, or some other method that you derive. It just needs be clear what the player is expected to enter in order to select a specific box. 5) My output that demonstrates steps 1-4 looks like It's Player One's turn, pick a box [0-81: 6) After getting the player's input, the appropriate symbol ('X' or 'O') should be displayed in the box that matches the player's input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
