-
-the-poker-game
本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。
单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said.
Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
- 2013-08-19 15:13:48下载
- 积分:1
-
tic-tac-toe
三连棋游戏,两人轮流在一有九格方盘上划加字或圆圈, 谁先把三个同一记号排成横线、直线、斜线, 即是胜者。(tic tac toe)
- 2016-10-06 11:23:42下载
- 积分:1
-
game
vb.net实现的打砖块小游戏的基本操作和功能(basic operations and functions of vb.net achieve Arkanoid game)
- 2013-03-06 11:33:40下载
- 积分:1
-
MemWord
Game Memories Words with dics
- 2010-08-13 03:22:43下载
- 积分:1
-
dx9_texture_addressing
介绍dx9的纹理编程技术,适合初学者,对于dx9的学习具有帮助(Introduced programming dx9 texture, suitable for beginners, for the study with help dx9)
- 2009-06-28 00:23:58下载
- 积分:1
-
five
五子棋的小程序,考虑了先手双三禁手的情况可以人和电脑,人和人,步数有统计,开始可以选择白旗或者黑棋(Gobang a small program, taking into account firstly the three pairs of hands can be cut and the computer, and the people, a few steps there are statistics, can choose to start a white flag or Black)
- 2010-02-02 11:23:10下载
- 积分:1
-
TheTetrisGame
经典游戏俄罗斯方块的一种简单实现,支持玩家信息的保存和统计。(A classic game of Tetris simple implementation, support the players the preservation of information and statistics.)
- 2013-09-11 14:46:11下载
- 积分:1
-
eleeye
著名象棋软件象棋巫师源代码。循序渐进实现象棋巫师。(Famous chess wizard chess software source code. Progressive realization of chess wizard.)
- 2021-01-09 21:18:56下载
- 积分:1
-
五子棋源码
一个五子棋源码 .(a source.)
- 2004-12-22 23:47:05下载
- 积分:1
-
2
说明: Visual C++角色扮演游戏程序设计之CG合成
游戏编程的第2步,CG合成的源代码(Visual C++ role-playing games designed CG synthesis Game Programming Step 2, CG source code for the synthesis of)
- 2010-01-22 14:31:42下载
- 积分:1