文件名称:game
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.81mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
.翻牌游戏(难度系数:3级) 假设有52张纸牌,已经洗完,现在扑克牌全正面向上。假设有2个骰子,一个表示花色,一个表示牌点,模拟随机掷骰子,把骰子对应的牌翻过去,然后再掷骰子,再翻牌,.....如此100次。最后,输出还是正面向上的那些纸牌。 功能要求: 1) 能表示纸牌的花色和点数; 2) 能表示纸牌的正反面; 3) 能表示代表花色的骰子(4面)和代表牌点的骰子(13面),以及掷骰子的结果; 4) 能表示每次掷骰子后,翻牌的结果。 5) 允许用户选择掷骰子的总次数; 6) 允许用户单步(一次掷两个,只掷一次)和多步(一次掷两个,连续掷若干次)投掷骰子; 7) 能够将每次掷骰子的结果,以及每次按骰子点数翻转纸牌后,全部纸牌状态的结果保存在文件中,以备查看。-game ( difficulty coefficient: 3 ) if there are 52 cards, had already finished, now playing cards all positive. Suppose there are 2 dice, a color, a pip, analog random dice, dice the corresponding card over, then roll the dice, then the flop, .... so 100 times. Finally, the output still face up those card. Functional requirements: 1) can express card color and number 2) express card has two sides 3) that represents the color of the dice ( 4 ) and represents the pips on the dice ( 13 ), as well as the dice results 4) that each dice, flop in the results. 5) allows the user to select the dice number 6) allows the user to step ( a throw of two, only a throw ) and multi step ( a roll two, continuous throwing several times to throw the dice ) 7) to each roll of the dice results, and each time you press the dice after flip cards all cards, state the results stored in the document, to view.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
game/fprintf.txt
game/扑克牌游戏.cpp
game/扑克牌游戏.dsp
game/扑克牌游戏.dsw
game/扑克牌游戏.ncb
game/扑克牌游戏.opt
game/扑克牌游戏.plg
game/新建 Microsoft Office Word 文档.docx
game/Debug/vc60.idb
game/Debug/vc60.pdb
game/Debug/扑克牌游戏.exe
game/Debug/扑克牌游戏.ilk
game/Debug/扑克牌游戏.obj
game/Debug/扑克牌游戏.pch
game/Debug/扑克牌游戏.pdb
game/Debug
game
game/扑克牌游戏.cpp
game/扑克牌游戏.dsp
game/扑克牌游戏.dsw
game/扑克牌游戏.ncb
game/扑克牌游戏.opt
game/扑克牌游戏.plg
game/新建 Microsoft Office Word 文档.docx
game/Debug/vc60.idb
game/Debug/vc60.pdb
game/Debug/扑克牌游戏.exe
game/Debug/扑克牌游戏.ilk
game/Debug/扑克牌游戏.obj
game/Debug/扑克牌游戏.pch
game/Debug/扑克牌游戏.pdb
game/Debug
game
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.