-
VC++6游戏编程入门及源码
第一章 游戏基础
第二章 扫雷
第三章 五子棋
第四章 俄罗斯方块
第五章 老鼠和滚球
第六章 飞机游戏...
VC++6游戏编程入门及源码
第一章 游戏基础
第二章 扫雷
第三章 五子棋
第四章 俄罗斯方块
第五章 老鼠和滚球
第六章 飞机游戏
第七章 五子棋联机游戏
-VC six games programming source portal and the first game based on the second chapter mine Chapter 331 Chapter III IV Russia Chapter V rats box and bowls of Chapter VI of Chapter VII of the game aircraft 331 online games
- 2022-01-25 21:00:56下载
- 积分:1
-
1、对输入的要求
玩家手中可以有2-5张牌(玩家自己输入多少张牌)。牌点为2-10的每张牌都分别计为相应的点数。花牌(J,K,Q)都算10点。目标是尽可能...
1、对输入的要求
玩家手中可以有2-5张牌(玩家自己输入多少张牌)。牌点为2-10的每张牌都分别计为相应的点数。花牌(J,K,Q)都算10点。目标是尽可能接近21点,但不要超过21点。所以,任何超过21点的点数都表示这一手牌已经“爆”了。A既可以计为1点,也可以计为11点,要选择对玩家来说最有利的一个点数。例如,1张A和1张10可计为11点或21点,但由于21点更好,所以这一手牌要算成21点。1张A和2张8可计为17点或者27点,由于27点已经“爆”了,所以这一手牌要算成17点。
程序首先询问玩家手上有几张牌,玩家输入2,3,4或者5。然后询问玩家每张牌的点数。点数可为2-10,J,K,Q和A。2-9的值分别作为字符‘2’-‘9’来输入。10,J, Q, K和A等值分别作为字符‘t’,‘j’,‘q’,‘k’和‘a’来输入(当然,玩家不需要输入单引号);
2、对输出的要求:
可以让玩家更清楚的知道他下一步应该怎么做
3、程序所能达到的功能
能够计算出所有牌的点数 之和,而且能够帮你处理好那张牌对 你的牌点之和更有利。-Blackjack
- 2023-06-19 09:10:03下载
- 积分:1
-
online poker read many components of the preparation, most of the calls Windows/...
在网上看了不少关于扑克牌组件的编写,大多是调用Windows/system32下的cards.dll其实我们如果不调用这些函数也是可以作一个很好扑克牌组件。-online poker read many components of the preparation, most of the calls Windows/system32 cards.dll fact that if we do not call these functions would also be a very good poker components.
- 2022-03-21 11:06:39下载
- 积分:1
-
This is a network version of the card games. Both confrontation with the compute...
这是一个网络版的纸牌游戏.既可以与电脑对抗也可以让多个玩家在局域网或互联网上进行对抗.
-This is a network version of the card games. Both confrontation with the computer can also allow a number of players in LAN or the Internet Internet confrontation.
- 2022-06-30 03:41:35下载
- 积分:1
-
一个小的非常 好用的电子书阅读器源码
一个小的非常 好用的电子书阅读器源码-a -A very useful e-book reader source-a
- 2022-04-09 17:44:23下载
- 积分:1
-
使用EVC开发“迷你游戏方块”完整示例编程。 采用OPP实现俄罗斯方块的编程,开发效率高。...
使用EVC开发“迷你游戏方块”完整示例编程。 采用OPP实现俄罗斯方块的编程,开发效率高。-use EVC development "mini game cubes" complete programming examples. OPP used to achieve the Russian block of programming, development of high efficiency.
- 2022-01-25 23:25:28下载
- 积分:1
-
mine
扫雷游戏JAVA源码下载,其他人不需帐号就可自由下载此源码 。-mine-source Java download games, other people can not account free download this source.
- 2023-03-04 01:35:04下载
- 积分:1
-
单机版中国象棋 使用windows sdk 开发 简单 易学
单机版中国象棋 使用windows sdk 开发 简单 易学-single version of Chinese chess development of the use of windows sdk easy
- 2022-09-09 03:05:03下载
- 积分:1
-
in many games, it did not find 'three
在很多游戏网站上,都没有发现‘三子棋’游戏。这是我的家乡人们经常玩的游戏。 规则如下: 1)下子阶段:在这个阶段,只能下棋子而不能移动棋子。像五子棋一样,尽量使自己的子能凑成‘三’,当你的棋子凑成‘三’了以后,你可以把对方任一个子废掉(该子将会变灰色,下子完了以后,它将会被去掉)。 2)行棋阶段:下完子了,就进入行棋阶段。在这个阶段,不能下棋子而只能移动棋子,三’,当你的棋子凑成‘三’了以后,你可以把对方任一个子去掉。 3)直到谁的子剩下少于三个,谁就输了。 4)还有谁无子可动,超时3次也会告负。-in many games, it did not find "three-game" game. This my home often to play the game. Rules are as follows : 1) Now stage : At this stage, only under a pawn and unable to move a pawn. Like the 331, so that their son would make up a "three", when you make up a pawn "three" of the future, you can give each other the son of a destroyed (the son would become a gray Now completed, it will be removed). 2) A chess stage : End under the son, entered a move phase. At this stage, not only under the pawn and mobile pawn, 3 ", when you make up a pawn" three "of the future, you can give each other the son of a removed. 3) until the son who left less than three, whoever lost. 4) Who have no sons moving, overtime als
- 2022-03-06 00:05:05下载
- 积分:1
-
用java实现的游戏例子(包括俄罗斯方块等),值得借鉴.
用java实现的游戏例子(包括俄罗斯方块等),值得借鉴.-Realize the game using java examples (including the Russian box, etc.), is worth learning from.
- 2023-06-29 09:40:04下载
- 积分:1