登录
首页 » Visual C++ » renjixiaqi

renjixiaqi

于 2020-07-04 发布 文件大小:5117KB
0 322
下载积分: 1 下载次数: 5

代码说明:

  人机下棋:在3×3棋盘上,计算机为一方,用户为一方,交替画“X”和“O”,在行、列、对角线上谁先练成一条直线谁就获得胜利。用类的思想完成,具体功能要求如下: (1)状态显示:计算机可正确显示棋盘,给出提示信息和胜负判断。 (2)用户选择:用户可以选择是先下还是后下,并选择棋子是“X”还是“O”。 (3)每一步都用图形化方式顺序输出 (Man-machine chess: on the 3 X 3 board, the computer for one party, the user for a party, draw an X and O alternately, in the row, column and diagonal who practice who would win in a straight line. Finish, with the ideas of the class specific functional requirements are as follows: (1) status display: the computer can correctly display board, giving prompt information and the outcome of judgment. (2) the user choice: the user can next is first or after, and the pieces is a X or O .)

文件列表:

作业C_2
.......\C_2
.......\...\C_2
.......\...\...\chess.cpp,2408,2015-07-14
.......\...\...\chess.h,371,2015-07-14
.......\...\...\C_2.vcxproj,4020,2015-07-14
.......\...\...\C_2.vcxproj.filters,1149,2015-07-14
.......\...\...\C_2.vcxproj.user,143,2015-07-14
.......\...\...\Debug
.......\...\...\.....\chess.obj,58361,2015-07-31
.......\...\...\.....\CL.read.1.tlog,32768,2015-07-31
.......\...\...\.....\CL.write.1.tlog,2720,2015-07-31
.......\...\...\.....\C_2.exe.embed.manifest,406,2015-07-14
.......\...\...\.....\C_2.exe.embed.manifest.res,472,2015-07-31
.......\...\...\.....\C_2.exe.intermediate.manifest,381,2015-07-31
.......\...\...\.....\C_2.lastbuildstate,70,2015-07-31
.......\...\...\.....\C_2.log,2386,2015-07-31
.......\...\...\.....\C_2.vcxprojResolveAssemblyReference.cache,713,2015-07-14
.......\...\...\.....\C_2.write.1.tlog,0,2015-07-14
.......\...\...\.....\C_2_manifest.rc,196,2015-07-14
.......\...\...\.....\link-cvtres.read.1.tlog,2,2015-07-31
.......\...\...\.....\link-cvtres.write.1.tlog,2,2015-07-31
.......\...\...\.....\link.1912-cvtres.read.1.tlog,2,2015-07-31
.......\...\...\.....\link.1912-cvtres.write.1.tlog,2,2015-07-31
.......\...\...\.....\link.1912.read.1.tlog,2,2015-07-31
.......\...\...\.....\link.1912.write.1.tlog,2,2015-07-31
.......\...\...\.....\link.read.1.tlog,8782,2015-07-31
.......\...\...\.....\link.write.1.tlog,2260,2015-07-31
.......\...\...\.....\main.obj,44441,2015-07-31
.......\...\...\.....\mt.read.1.tlog,822,2015-07-31
.......\...\...\.....\mt.write.1.tlog,294,2015-07-31
.......\...\...\.....\rc.read.1.tlog,738,2015-07-31
.......\...\...\.....\rc.write.1.tlog,762,2015-07-31
.......\...\...\.....\vc100.idb,478208,2015-07-31
.......\...\...\.....\vc100.pdb,241664,2015-07-31
.......\...\...\main.cpp,922,2015-07-14
.......\...\C_2.sdf,5656576,2015-09-23
.......\...\C_2.sln,876,2015-07-14
.......\...\Debug
.......\...\.....\C_2.exe,43520,2015-07-31
.......\...\.....\C_2.ilk,381380,2015-07-31
.......\...\.....\C_2.pdb,650240,2015-07-31
.......\...\ipch
.......\...\....\c_2-311ac65b
.......\...\....\............\c_2-a332bb80.ipch,15269888,2015-09-23
.......\实验报告.doc,34304,2015-07-14

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

发表评论

0 个回复

  • 五子源码
    一个五子棋源码 .(a source.)
    2004-12-22 23:47:05下载
    积分:1
  • source-code-VC-P-P-Othello
    说明:  带背景音乐的VC++黑白棋源代码,程序简单又娱乐(With background sound source code VC++ Othello)
    2011-03-13 18:32:24下载
    积分:1
  • gobang-game
    基于控制台的五子棋游戏,用easyX提供的图形接口进行编写,适合初学者,简单易懂,注释全面。注:安装图形库需要去EasyX官网下载“2012立冬版”,必须是这个版本,因为后来新的版本对有些函数做了调整,导致显示会有问题。(Console-based backgammon game, the graphical interface provided by easyX be written for beginners, easy to understand, comprehensive notes. Note: Installing graphics libraries need to EasyX official website to download " 2012 Lidong Edition" , must be this version, because the new version was made adjustments for some functions, resulting in the display there will be problems.)
    2014-10-11 14:53:47下载
    积分:1
  • VC++
    残缺棋盘问题的VC++实现,用分而治之方法解决此问题(Defective chessboard problem VC++ Realize, using divide and conquer method to solve this problem)
    2008-02-25 16:11:23下载
    积分:1
  • Poker
    用socket 编写的够击.自定义了网络传输的规约,和发牌规则.(Socket prepared with enough hit. Since the definition of the network transmission of the Statute, and licensing rules.)
    2008-04-19 15:27:21下载
    积分:1
  • guojimajiang
    网狐6603国际麻将,视频麻将,完美无错,值得拥有(Fox 6603 International Mahjong, Mahjong video, perfect no mistake, worth having)
    2013-11-28 13:56:34下载
    积分:1
  • win32wuziqi
    没有实现所功能 请大家多多指点 本来想实现网络对打,但水平有限(not achieve functional Please have a lot to the guidance of 2-network, but is limited)
    2006-05-18 17:16:02下载
    积分:1
  • wuziqi
    五子棋巧妙设计,可以帮你设计出界面丰富的五子棋,很好玩(Backgammon clever design can help you design the 331 interface, a lot of fun)
    2012-05-21 18:25:06下载
    积分:1
  • Backgammon
    五子棋是有两个人在一盘棋上进行对抗的竞技运动。在对局开始时,先由用户选择哪方先开局,先开局一方将一枚棋子落在一点上,然后由另一方在对方棋周围的交叉点上落子,如此轮流落子,直到某一方首先在棋盘的直线、横线或斜线上形成连续的五子则该方就算获胜。此时,算法结束。当有任何一方想退出时,都可在算法中实现。(Backgammon is a competitive sport confrontation of two people in a game of chess. At the beginning of the game, the first users to choose which side first start, first start the party will be a pawn falls point, and then by the other party on the other chess around the intersection of Lazi, so turns Lazi, until the party first the chessboard straight, horizontal or diagonal to form a continuous five sons even if the party wins. In this case, the algorithm ends. When either party wishes to withdraw from, can be realized in the algorithm.)
    2012-11-05 20:18:00下载
    积分:1
  • 85646465467
    VB语言写的扑克牌电脑魔术——读懂你的心源代码.(VB language to write the poker magic computer- read your source code.)
    2013-08-09 11:36:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载