I need to be able to update player X and O's location on the board. The problem is, the user is able to set the board size in the beginning! So how can I predict a tokens location when the board size can be ANYTHING from 0 - 11 rows and columns!. This is blowing my newbie mind! I made it with arrays. Please feel free to tell me if there is a much easier way to create this game and how to efficiently update x and o's location on the board!
Practice problem: Write a two-player game of "connect 4" where the user can set the width and height of the
board and each player gets a turn to drop a token into the slot. Display the board using o for one
side, x for the other, and _ to indicate blank spaces.