登录
首页 » Visual C++ » wuziqi

wuziqi

于 2011-10-29 发布 文件大小:4KB
0 143
下载积分: 1 下载次数: 12

代码说明:

  控制台编的五子棋游戏,用的贪心算法,AI不算太高,但希望对像我一样菜的同学有所启发……(Console compiled 331 games, with the greedy algorithm)

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

发表评论

0 个回复

  • 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
  • -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
  • heibaiqi
    人人对战的黑白棋(Everyone against Riversi)
    2008-06-08 12:23:31下载
    积分:1
  • five
    五子棋的小程序,考虑了先手双三禁手的情况可以人和电脑,人和人,步数有统计,开始可以选择白旗或者黑棋(Gobang a small program, taking into account firstly the three pairs of hands can be cut and the computer, and the people, a few steps there are statistics, can choose to start a white flag or Black)
    2010-02-02 11:23:10下载
    积分:1
  • gobang
    最近做了个小游戏五子棋,两人对战类,是用VC,EasyX做的,在网上只能找到EasyX做的贪吃蛇,俄罗斯方块,没有五子棋,自己做了一个。我学C高级期末成绩就是做这个,可以显示出两人的思考时间,可以不断开局,主要是源代码大家可以学习一下..希望与大家多交流。(Easyx我也放在压缩包里了,自己安装一下)(Recently made a small game backgammon, two arcade, with VC, EasyX do, do online can only find EasyX Snake, Tetris, there is no backgammon, he had made one. I learned C high end performance is to do this, thinking they can show the time, you can continue to start, mainly to the source code you can learn more about .. hope we can communicate. (Easyx I put compression bag, and he installed it))
    2011-07-12 12:16:42下载
    积分:1
  • Backgammon
    五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
    2013-07-20 17:54:18下载
    积分:1
  • chess
    中国象棋 重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。( Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
    2013-12-17 09:10:12下载
    积分:1
  • wuziqi
    这是一段人与电脑下五子棋的程序,人H代表人,C代表电脑(This is a man with a computer under 331 procedures, human H representative, C for computer)
    2013-10-16 23:00:24下载
    积分:1
  • Gomoku
    简单五子棋,简单学习算法,很弱的AI,原文是Python语句,现改写位c++(Simple backgammon, simple learning algorithm, very weak AI, the original is a Python statement, is now rewritten bit c++)
    2017-06-19 22:08:12下载
    积分:1
  • 20dianyouxi
    20点小游戏,学会它可以让你在朋友前炫耀一下。(this case is a 20-point game, learn which will allow you to show off at a friend s before)
    2012-02-17 22:19:38下载
    积分:1
  • 696522资源总数
  • 104049会员总数
  • 30今日下载