登录
首页 » Visual C++ » tic-tac-toe

tic-tac-toe

于 2016-10-06 发布 文件大小:1KB
0 146
下载积分: 1 下载次数: 1

代码说明:

  三连棋游戏,两人轮流在一有九格方盘上划加字或圆圈, 谁先把三个同一记号排成横线、直线、斜线, 即是胜者。(tic tac toe)

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

发表评论

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
  • CrossGame
    利用cocos2d-x引擎制作的十字消除类,益智游戏(Use cocos2d-x engine produced Cross eliminate class, puzzle games)
    2013-10-09 08:48:38下载
    积分:1
  • visual.c_opengl_directx
    超级玛丽的制作揭秘文档 (Super Mario document production Jie Mi)
    2010-06-01 13:10:29下载
    积分:1
  • dzk_mqg
    MFC下的打砖块游戏 MFC下的打砖块游戏MFC下的打砖块游戏(MFC Dazhuankuai the game MFC Dazhuankuai the game MFC The game Dazhuankuai)
    2020-09-01 14:58:11下载
    积分:1
  • guojimajiang
    网狐6603国际麻将,视频麻将,完美无错,值得拥有(Fox 6603 International Mahjong, Mahjong video, perfect no mistake, worth having)
    2013-11-28 13:56:34下载
    积分:1
  • 720_1
    文曲星猜数字,给你六次机会猜数字,成功给出提示,是否继续猜数字(Wenquxing number guessing, give you six opportunities numberguess success prompting whether to continue numberguess)
    2013-04-23 20:38:19下载
    积分:1
  • 21pointMFC
    21点游戏 sln vc++6.0打不开 用vs才行 下下来看看吧()
    2013-12-27 15:49:53下载
    积分:1
  • 魔兽世界模型观察器 wowmodelview-0.48e
    魔兽世界模型观察器 魔兽世界模型察看器4.8e(含源码) [9M](World of Warcraft World of Warcraft model viewer Model View browser 4.8e (with source) [9M])
    2020-06-26 03:00:02下载
    积分:1
  • vc五子棋网络版本1.0
    网络五子棋系统,用vc实现.学习vc对话框编程,网络编程。(331 network system, using vc achieve. Learning vc dialog programming, network programming.)
    2005-06-16 12:03:04下载
    积分:1
  • lelss-linuuxi
    用linuX 下的C语言 运用CURSES开发的俄罗斯方方块游戏源码,非常好,这个是本人原创,值的参考 可直接使用。 (The C language under Linux using CURSES development of the Russian puzzle game source code, very good, this is my original, the value of the reference can be directly used.)
    2012-07-17 22:31:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载