登录
首页 » Visual C++ » game21

game21

于 2015-12-24 发布 文件大小:162KB
0 76
下载积分: 1 下载次数: 1

代码说明:

   21点游戏 (1)实现一个扑克类Poker,并提供取牌函数,主函数实现洗牌、取牌、显示牌内容的过程 (2)实现多玩家的21点人机游戏,每个玩家依次叫牌,直到所有玩家都不再叫牌位置,最后显示每人手里的牌,并显示输赢结果 c++(21:00 Games (1) to achieve a poker class Poker, and offers to take the licensing function, the main function to achieve shuffle, take cards, display cards content process (2) to achieve human-computer multi-player blackjack game, each player in turn called cards until all players are no longer bid position, the last display cards per hand and shows winners and losers c++)

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

发表评论

0 个回复

  • work
    数独游戏 a) 设计一个命令行界面的游戏,登入游戏界面后,应该有游戏规则说明,按键说明。 b) 进入游戏前应该有难度选择:1表示简单、2表示中等、3表示困难。 c) 在游戏主界面中有可以循环输入数独值、可以连续玩好几局直到退出、检查结果、查看答案、新开一局的功能。 d) 信息提示功能:输入错误时应有提示、游戏失败或获取胜利时应有庆祝界面等。 (Sudoku a) the design of a command-line interface of the game, log into the game interface, there should be rules of the game description, key instructions. b) prior to entering the game should have difficulty options: 1 means simple, 2 for moderate, 3 for difficulty. c) There can be recycled input Sudoku value, you can continuously play several bureau until you exit the game the main interface, test results, see the answer, features a newly opened office. d) Information prompts: input error when prompted, the game fails or gets victory should have celebrated interface.)
    2014-07-06 23:06:58下载
    积分: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
  • wzq
    一个简单的五子棋程序,可以人机对弈,采用opencv1.0+vc6.0,来自于网上(A simple backgammon procedures can be man-machine chess, using opencv1.0+ vc6.0, the Internet)
    2016-12-23 09:57:42下载
    积分:1
  • ptdma
    可把一块图片分割几部份,切片数量可由用户定制,游戏开始后顺序打乱,然后让你拼图。(A picture can be split into several parts, cut the number of user customization, upset the order after the start of the game, and then let you puzzle.)
    2011-04-20 22:12:07下载
    积分:1
  • plane(fangleidian)
    c++的大作业,仿雷电的射击游戏,虽然实现的功能很少……内附开发日志和实验报告……(c++ for large operations, like lightning shooting game, although the function of the realization of very few ... ... containing the report of the development and experimental log ... ...)
    2009-05-30 16:44:06下载
    积分:1
  • fengyun--douzhanshen0917A
    斗战神的开发脚本,具体参数请找一般ec开发工具。都有的。作为一个参考吧。能看懂的自然看得懂(Fighting Ares developing scripts)
    2021-01-17 08:28:49下载
    积分:1
  • WindowsGame2
    一個簡單得搶旗子遊戲用上下左右移動WINDOWS GAME(Grab a simple flag games to move up and down)
    2012-10-26 22:11:24下载
    积分:1
  • Mine
    一个用vc++编写的踩雷游戏,主要用于学习MFC中有关函数的学习。(Ray game on。)
    2012-04-22 16:10:33下载
    积分:1
  • jiaotashidi
    这是一个名为"脚踏实地"的游戏,内含游戏规则,可以需要选择游戏地图,找出口,是游戏编程的入门之一.(This is a "down-to-earth" of the game, containing the rules of the game and can choose the game map, for export, the game is one of the program's portal.)
    2007-04-20 11:02:00下载
    积分:1
  • 3d_simple
    directx 3d游戏的简单制作,对于新手是个号例子(directx 3d game simple production example for the novice is No.)
    2020-07-04 23:20:01下载
    积分:1
  • 696524资源总数
  • 103843会员总数
  • 49今日下载