A player generates two random numbers ex generated number


The game should be played on a 4 by 4 grid.

A player generates two random numbers. Ex: generated number is 2 & 3 the player clicks in the 2x3 square and colour of the square should change.

A player should only be able to click and change the colour of the square of the random numbers only. With each square coloured the score increases by the product of two numbers.

The game should maintain the time taken to colour all the squares. The game should end in two ways. A player generating the same random numbers in three consecutive attempts. A player colouring all the squares

The second player should be able to play. The winner should be the one who scores the highest within the least amount of time. If a player has the highest score but takes the highest time, then the game is considered a tie. display a message saying it is a tie.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: A player generates two random numbers ex generated number
Reference No:- TGS01206787

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)