登录
首页 » Java » 21point

21point

于 2013-10-08 发布 文件大小:193KB
0 214
下载积分: 1 下载次数: 1

代码说明:

  用JAVA编写的速算21点的小扑克游戏的源代码,可以给大家参考一下(Quick calculation using JAVA 21:00 little poker game source code, you can give your reference)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • -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
  • MyFirstMFC
    围棋游戏源码,实现了落子、提子功能。 如果有编译错误,请去掉报错行的空格(“GoChess” Game Source code)
    2012-08-20 11:26:17下载
    积分:1
  • ^-Chess_Pr159510612003
    simple program that offers a game of chess
    2017-10-04 10:41:42下载
    积分:1
  • guojimajiang
    网狐6603国际麻将,视频麻将,完美无错,值得拥有(Fox 6603 International Mahjong, Mahjong video, perfect no mistake, worth having)
    2013-11-28 13:56:34下载
    积分:1
  • 五子的核心算法
    五子棋核心算法,介绍五子棋程序的数据结构、评分规则、胜负判断方法和搜索算法过程(331 core algorithm, introduced 331 procedures of the structure, score rules, methods and judgment of the outcome search algorithm process)
    2005-01-10 22:28:10下载
    积分:1
  • flychess
    用MFC编写的飞行棋游戏,包括游戏界面、核心算法、走棋动画的实现。(Prepared using MFC flight chess games, including the game interface, the core algorithm, take the chess animation implementation.)
    2021-04-24 14:18:47下载
    积分:1
  • 这是一个用VC写的五子人机对战程序
    这是一个用VC写的五子棋人机对战程序(This is a VC was the man-machine players 331 procedures)
    2005-01-17 00:20:25下载
    积分:1
  • CPP
    一份能够直接运行五子棋的程序,不需要有较大的改动,你可以自己学习(A backgammon program can be run directly Does not require major changes, you can learn yourself)
    2015-05-03 15:13:14下载
    积分:1
  • wuziqi
    五子棋游戏源码,界面优美经典,编程思路清晰,非常适合学习。(Backgammon game source code, interface and beautiful classic programming ideas clearly, very suitable for learning.)
    2013-04-05 23:20:51下载
    积分:1
  • calibration
    This project is camera calibration using chess board.
    2015-04-29 20:09:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载