Question: Using C programming I need to create a board game. After every 12 spaces another row is added. A 50 space board would have 4

Using C programming I need to create a board game. After every 12 spaces another row is added. A 50 space board would have 4 full rows and then a 5th row of just 2 spaces. There will be two players the human, and computer. The human is represented as a '$' and computer represented as a '%'.

The way the players move through the game is each will roll two dice. You must hit "enter" to roll the dice. When you display the human and computer one the board, if they are on the same space, only the human '$' should be displayed. At the end, when one of the player reach the end, it will declare the winner.

Arrays must be used in this program.

there must be a printboard function with two parameters one for human, and other for computer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!