-
battlecity
经典坦克大战源代码,battlecity (
Classic wars source code)
- 2020-07-01 11:40:01下载
- 积分:1
-
-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
-
eleeye
著名象棋软件象棋巫师源代码。循序渐进实现象棋巫师。(Famous chess wizard chess software source code. Progressive realization of chess wizard.)
- 2021-01-09 21:18:56下载
- 积分:1
-
caiquan
石头,剪刀,布:设计一个游戏,让用户与计算机玩“石头,剪刀,布”游戏,要求:
程序能够统计玩的次数以及每一次的结果,说明是谁赢了,还是平了;
计算机出牌的最简单的方法是随机算法,请尝试考虑能不能设置一种分析用户出牌规律的算法,让计算机能够赢用户的几率大于50 。
(Rock, scissors, cloth: to design a game, let the user and the computer to play stone, scissors, cloth game, requirements:
program to play the number of statistics and the result of every time, that is who won, or flat
computer play the most simple way is random algorithm, please try to consider the user can set up a kind of analysis play rule algorithm, is greater than 50 chance to win the user s computer.)
- 2020-07-04 13:20:02下载
- 积分:1
-
FIVE
自己写的五子棋代码,可以直接执行,效率很高(Write your own backgammon code that can be executed directly, high efficiency)
- 2013-10-10 10:56:31下载
- 积分:1
-
VC6Games
VC6GamesVC++游戏编程经典教材,包括扫雷,五子棋,俄罗斯方块,老鼠和滚球,飞机游戏,五子棋等游戏是实现过程和代码讲解(VC6GamesVC++ game programming classic textbooks, including mine, backgammon, Tetris, mice and bowls, aircraft games, backgammon and other games is to realize the code explain the process and)
- 2010-05-19 23:44:30下载
- 积分:1
-
BattleOffice2
出现对象时,就设计对象,直到漏打5个对象时,则失败。(There object to the design object, until the leak to 5 objects, then fails.)
- 2011-02-07 15:02:45下载
- 积分:1
-
skyblue_PinTu
拼图 源代码 大家可以参考学习一下……(Puzzles everyone can refer to the source code to learn about ... ...)
- 2009-02-07 21:58:17下载
- 积分:1
-
wuziqi
经典的五子棋游戏的代码,用C++编写,可作为C++新手的练习材料,在windows系统上运行(The classic backgammon game code, written in C++, can be used as material for training novice C++, running on the windows system)
- 2016-01-18 15:03:30下载
- 积分:1
-
Puzzle_Gam2022561012006
Puzzle Game for viusal basic
- 2016-01-03 14:41:20下载
- 积分:1