Question: Vectors is a two player game played on a two-dimensional square 10x10 grid. The object of the game is to create vectors consisting of 3,

 Vectors is a two player game played on a two-dimensional square

Vectors is a two player game played on a two-dimensional square 10x10 grid. The object of the game is to create vectors consisting of 3, 4, or 5 adjacent grid locations. The vectors can be horizontal, diagonal, or vertical. At the end of each round the game will count the number of vectors for each player and add that scoring for that round to their total score. The game will last a fixed number of rounds (default 25), which is determined by the players at the start of the game. Players will take turns each round placing a new token on the grid. The grid location must be unoccupied for it to be valid. Re-prompt the user for an invalid move. At the beginning of each round before the players select their moves, the computer will randomly pick a grid location and replace the contents of that location with a *. The * can be placed in any location, even those already occupied. Your game board should look EXACTLY like the example Scorin Length Points Example Game Board Output *VECTORs Player One Score: Player Two Score: 3 Last Round 3 0 Last Round *Round 5 of 25 0 1 2 3 4 56 789 Player 1 Move (Row Col): 4 6 Player 2 Move (Row Col): 2 3 Vectors is a two player game played on a two-dimensional square 10x10 grid. The object of the game is to create vectors consisting of 3, 4, or 5 adjacent grid locations. The vectors can be horizontal, diagonal, or vertical. At the end of each round the game will count the number of vectors for each player and add that scoring for that round to their total score. The game will last a fixed number of rounds (default 25), which is determined by the players at the start of the game. Players will take turns each round placing a new token on the grid. The grid location must be unoccupied for it to be valid. Re-prompt the user for an invalid move. At the beginning of each round before the players select their moves, the computer will randomly pick a grid location and replace the contents of that location with a *. The * can be placed in any location, even those already occupied. Your game board should look EXACTLY like the example Scorin Length Points Example Game Board Output *VECTORs Player One Score: Player Two Score: 3 Last Round 3 0 Last Round *Round 5 of 25 0 1 2 3 4 56 789 Player 1 Move (Row Col): 4 6 Player 2 Move (Row Col): 2 3

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!