文件名称:game
介绍说明--下载内容均来自于网络,请自行研究使用
Simulation of a game between two parties.
Gameplay:
Computer for each participant draws 5 numbers (between 1 and 10, can include duplicates).
After dividing the numbers, the computer draws three more numbers:
For each number, each player can replace one of the numbers are in a different number.
The player who offered the higher number will replace the number suggested by the number drawn.
In case two players offered the same number - this will win him the maximum number smaller array.
The second player would be fined by the value of the number who gambled on him down one (required to offer number in each of the three draws).
In the end the winner is the player with the higher numbers mean.
Gameplay:
Computer for each participant draws 5 numbers (between 1 and 10, can include duplicates).
After dividing the numbers, the computer draws three more numbers:
For each number, each player can replace one of the numbers are in a different number.
The player who offered the higher number will replace the number suggested by the number drawn.
In case two players offered the same number - this will win him the maximum number smaller array.
The second player would be fined by the value of the number who gambled on him down one (required to offer number in each of the three draws).
In the end the winner is the player with the higher numbers mean.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ex2.vcproj.Saar-PC.Saar.user
ex2.vcproj.user-PC.user.user
Game.cpp
Game.h
main.cpp
numSet.cpp
numSet.h
ex2.vcproj
ex2.vcproj.user-PC.user.user
Game.cpp
Game.h
main.cpp
numSet.cpp
numSet.h
ex2.vcproj