登录
首页 » Visual C++ » wuziqi

wuziqi

于 2013-10-16 发布 文件大小:251KB
0 112
下载积分: 1 下载次数: 1

代码说明:

  这是一段人与电脑下五子棋的程序,人H代表人,C代表电脑(This is a man with a computer under 331 procedures, human H representative, C for computer)

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

发表评论

0 个回复

  • wzq
    用c语言写的五子棋游戏,用 了人工智能的,算法很好的。(us c)
    2010-05-18 23:09:07下载
    积分:1
  • black_white_chess
    black white chess black white chess black white chess black white chess
    2009-09-19 16:14:31下载
    积分: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
  • fivecheer
    网络版本的五子棋.支持聊天,支持20桌同时进行游戏.(network version of the 331. Chat support, the support of 20 tables simultaneously game.)
    2007-06-07 15:25:20下载
    积分:1
  • wlwzq
    五子棋人机对战网络对战 五子棋人机对战网络对战 (331 man-machine players magic 331 man-machine players magic 331 magic man-machine players)
    2006-07-07 08:59:53下载
    积分:1
  • Source
    俄罗斯方块源码 直接运行可以看到结果。好东西大家分享嘛 (Tetris source code can be run directly see the result. Good things to share with you why)
    2009-01-01 10:22:22下载
    积分:1
  • wuziqi
    控制台编的五子棋游戏,用的贪心算法,AI不算太高,但希望对像我一样菜的同学有所启发……(Console compiled 331 games, with the greedy algorithm)
    2011-10-29 19:07:00下载
    积分:1
  • card
    纸牌洗牌翻拍程序,实现对纸牌的洗牌,翻牌等功能,逐步演示,形象直观(Cards shuffle licensing procedures to achieve the cards of the reshuffle, flop and other functions, step by step demonstration, the visual image)
    2016-09-28 13:05:10下载
    积分:1
  • c5
    Function: // riffle Description: // 洗牌,然后随机的得到9张牌,要求九张牌不能有重复. Calls: // Called By: // main() Table Accessed: //被修改的表(此项仅对于牵扯到数据库操作的程序) Table Updated: // 被修改的表(此项仅对于牵扯到数据库操作的程序) Input: //Card card[] 牌结构, int size 结构数组的大小 Output: //(Function:// riffle Description:// shuffle, and then randomly get nine cards, requiring nine cards can not be duplicated. Calls:// Called By:// main () Table Accessed:// modified table ( This only involves the operation of the database for the program) Table Updated:// modified table (this only involves the operation of the database for the program) Input:// Card card [] licensing structure, int size structure of the array size Output ://)
    2013-07-23 06:35:33下载
    积分:1
  • ChineseChess
    说明:  中国象棋棋盘C#实现,主要用于学习面向对象相关知识(Chinese chess board C# to achieve, mainly for learning object-oriented knowledge)
    2009-07-26 22:20:46下载
    积分:1
  • 696522资源总数
  • 104029会员总数
  • 31今日下载