Write function updateBoard to do the following a. Return type void b. Parameter list i. 1-d character array (i.e. move), size 3 ii. 2-d character array (i.e. board), size 8 rows and 8 cols iii. Structure Player (i.e. player) as a pointer c. Declare local variable rowInt, data type integer, set equal to function call getMoveRow, passing parameter move as an argument d. Declare local variable colInt, data type integer, set equal to function call getMoveCol, passing parameter move as an argument e. If calling function checkHorizontal (i.e. see argument list in step f.i.) is greater than ZERO, call function updateHorizontal, passing as arguments i. rowInt ii. colInt iii. board iv. player f. If calling function checkVertical (i.e. see argument list in step f.ii.) is greater than ZERO, call function updateVertical, passing as arguments i. rowInt ii. colInt iii. board iv. player g. If calling function checkDiagonal (i.e. see argument list in step f.iii.) is greater than ZERO, call function updateDiagonal, passing as arguments i. rowInt ii. colInt iii. board iv. player
13. Write function updateBoard to do the following
a. Return type void
b. Parameter list
i. 1-d character array (i.e. move), size 3
ii. 2-d character array (i.e. board), size 8 rows and 8 cols
iii. Structure Player (i.e. player) as a pointer
c. Declare local variable rowInt, data type integer, set equal to
function call getMoveRow, passing parameter move as an
argument
d. Declare local variable colInt, data type integer, set equal to
function call getMoveCol, passing parameter move as an
argument
e. If calling function checkHorizontal (i.e. see argument list in step
f.i.) is greater than ZERO, call function updateHorizontal,
passing as arguments
i. rowInt
ii. colInt
iii. board
iv. player
f. If calling function checkVertical (i.e. see argument list in step
f.ii.) is greater than ZERO, call function updateVertical, passing
as arguments
i. rowInt
ii. colInt
iii. board
iv. player
g. If calling function checkDiagonal (i.e. see argument list in step
f.iii.) is greater than ZERO, call function updateDiagonal,
passing as arguments
i. rowInt
ii. colInt
iii. board
iv. player
![13. Write function updateBoard to do the following
a. Return type void
b. Parameter list
i. 1-d character array (i.e. move), size 3
ii. 2-d character array (1.e. board), size 8 rows and 8 cols
111. Structure Player (1.e. player) as a pointer
c. Declare local variable rowInt, data type integer, set equal to
function call getMoveRow, passing parameter move as an
argument
d. Declare local variable colInt, data type integer, set equal to
function call getMoveCol, passing parameter move as an
argument
e. If calling function checkHorizontal (i.e. see argument list in step
f.i.) is greater than ZERO, call function updateHorizontal.
passing as arguments
i. rowInt
ii. colInt
111. board
iv. player
f. If calling function checkVertical (1.e. see argument list in step
f.ii.) is greater than ZERO, call function updateVertical, passing
as arguments
i. rowInt
ii. colInt
111. board
iv. player
g. If calling function checkDiagonal (i.e. see argument list in step
f.iii.) is greater than ZERO, call function updateDiagonal.
passing as arguments
i. rowInt
11. colInt
iii. board
iv. player](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F450e91ff-b202-4496-9b59-7686af8eb0cb%2Fd53b5437-a6a6-426b-8805-d3f8249b5f4a%2Fkg1a7zd_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 7 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)