Hi just started C++, was forced to take the class
I just need some help
I have to, not watn to, but have to take C++ as my course
we are given this homework, CAN YOU PLEASE HELP ME!?!? I will be forver gratfull!!
You will develop a simple windows-based game of dice. The game is played once only, and here are the rules for 2 players:
1- You choose if you wish to be player 1 or player 2
2- 2 dice are rolled on behalf of player 1
3- 2 dice are rolled on behalf of player 2
4- The winner is decided as follows:
a. If neither of the outcomes are a double such as ‘1-1’ or ’2-2’ or ’3-3’ or ‘4-4’ or ‘5-5’ or ‘6-6’ one of player 1 with the larger total wins, and if the totals are equal, it is a draw
b. If one outcome is a double, and the other is not, the player with a double wins and the totals will be irrelevant
c. If both outcomes are a double, then the player with the higher double wins, and if the doubles are equal, it is a draw
1- You must write 6 functions, each one displaying the result of the roll of dice(displaying a picture/graphic). The outcome of the rolls of the dice MUST be graphic.
2- The logic of the game should be as described above