登录
首页 » Visual C++ » renjixiaqi

renjixiaqi

于 2020-07-04 发布 文件大小:5117KB
0 278
下载积分: 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 个回复

  • 85646465467
    VB语言写的扑克牌电脑魔术——读懂你的心源代码.(VB language to write the poker magic computer- read your source code.)
    2013-08-09 11:36:59下载
    积分:1
  • ttq
    VC++开发的跳跳棋益智小游戏,跳跳棋益智游戏(Jumping chess program VC++ developed jumping chess puzzle game)
    2012-07-25 22:11:54下载
    积分:1
  • MyChess5
    用API实现的五子棋程序,人人版,对C++API程序的初学者应该有一定的帮助(Backgammon program with the API implementation, all versions of C++ API program should be helpful for beginners)
    2011-11-18 10:56:24下载
    积分:1
  • LLK1.41_FullSources
    连连看.net代码。最新更新的,VS2005开发。(Lianliankan. Net code. The latest update, VS2005 development.)
    2008-04-18 09:28:04下载
    积分:1
  • llk
    VC++ 6.0开发的游戏大厅,采用C/S模式,里面包含一个连连看游戏。(VC++ 6.0 developers of the game hall, with C/S model, which includes a Lianliankan game.)
    2020-12-09 11:59:19下载
    积分: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
  • chesschina
    我自己的毕业设计,中国象棋,界面加音乐播放都算可以,而且可以学习vc堆栈的使用,算法一般。(My graduation project, Chinese chess, plus music player interface can all count, but can also study the use of stack vc.)
    2009-02-16 14:48:33下载
    积分:1
  • five
    五子棋程序,适合毕业设计,作业程序开发等等(very good)
    2011-12-22 20:04:11下载
    积分:1
  • card
    简单的10点半扑克牌游戏,最接近10点半者为胜,花牌算半点!(pukepai)
    2009-03-09 14:38:45下载
    积分:1
  • FIVE
    自己写的五子棋代码,可以直接执行,效率很高(Write your own backgammon code that can be executed directly, high efficiency)
    2013-10-10 10:56:31下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载