-
-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
-
Surakarta
苏拉卡尔塔棋的源码,可实现人机对战,和搜索树的层次选择(Surakarta chess source code, enabling crew war, and the level of the search tree selection)
- 2020-10-23 09:07:22下载
- 积分:1
-
Checker
经典的西洋跳棋程序。 运用机器学习方法实现人机对弈。 方便大家学习。(Classic checkers program. The use of machine learning methods to achieve human-computer chess. To facilitate them to learn.)
- 2020-11-16 06:29:46下载
- 积分:1
-
game_five-in-a-row
游戏五子棋,简单实现了两人对战的模式。可以建立连接也可以断开连接。游戏结束会自动给出输赢结果(Playing backgammon, a simple realization two players mode. You can establish a connection can be disconnected. End of the game will automatically give winners and losers)
- 2013-11-10 15:58:59下载
- 积分:1
-
Connect4
alpha-Beta剪枝实现的重力四子棋
包括界面 以及 AI(alpha-Beta pruning to achieve the gravity moves, including four sub-interface and AI)
- 2021-04-27 22:48:44下载
- 积分:1
-
sddd
中国象棋Java实现代码,没有完成,可以继续开发.(Left shift)
- 2009-04-04 16:24:29下载
- 积分:1
-
21point
用JAVA编写的速算21点的小扑克游戏的源代码,可以给大家参考一下(Quick calculation using JAVA 21:00 little poker game source code, you can give your reference)
- 2013-10-08 13:57:51下载
- 积分:1
-
Backgammon
五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
- 2013-07-20 17:54:18下载
- 积分:1
-
console
说明: 象棋马的哈密顿回路算法代码,分治递归的方法。当m n<24时结果正确。这是重新上传,上一次工程中疏漏没有包含源码。(Hamilton horse chess circuit algorithm code, recursive partition method. When mn < 24 hours was correct. This is a re-upload, the last project oversight does not include source code.)
- 2010-04-14 10:50:12下载
- 积分:1
-
stockfish-6-win
stockfish 国际象棋引擎6.0源码。最近2015年所有比赛均排名第一,等级分达3316分。注释详细,是学习分析棋类AI最好源码。(Stockfish is a free UCI chess engine )
- 2015-09-20 13:16:35下载
- 积分:1