MFC 写的飞行棋C++源代码

上传者: yjt1325 | 上传时间: 2019-12-21 22:12:07 | 文件大小: 8.48MB | 文件类型: rar
1.游戏后玩家轮流掷骰子,轮流走棋,直到游戏中有一个玩家结束游戏。 要求:利用鼠标进行走棋(能区分多个玩家旗子); 正确识别胜利和失败,正确判断走棋正确与否,是否引起游戏结束; 2.玩家用鼠标点击骰子图标之后,再点击棋盘上某个棋盘上自己的飞机进行走棋,玩家轮流走棋,如果有玩家投到6则重新又这个玩家走棋。 3游戏细则 (1)起飞:只有当骰子掷出6点时,飞机起飞。 (2)到达:飞机到达终点时,回退多余点数。 (3)跳跃:飞机飞到同色方块时跳跃到下一个同色方; 如果下一个同色方块连接快速通道,则飞过快速通道。 (4)撞机:飞机停的方块中有敌机停留,敌机被撞回停机场。 (5)迭机:两架或多架飞机走到同一格时,重叠在一起称为迭机; ① 我方飞机正好停留在敌方上头,所有飞机回飞机场; ② 我方骰子为6时且与敌方飞机距离为小于6时,我方飞机停留在敌机上头,下次投骰子后直接走我方这辆飞机; ③ 我方骰子不为6时且与敌机距离小于6时,我方需倒退剩余点数; (6)胜利:有一架飞机飞到终点胜利,游戏结束。

文件下载

资源详情

[{"title":"( 86 个子文件 8.48MB ) MFC 写的飞行棋C++源代码","children":[{"title":"飞行棋","children":[{"title":"Computer.h <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"program.cpp <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":"Managers.cpp <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"programDoc.h <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"Chess.cpp <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"programDoc.cpp <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"roll.swf <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"program.aps <span style='color:#111;'> 1.47MB </span>","children":null,"spread":false},{"title":"programView.h <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"program.clw <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"program.dsp <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false},{"title":"program.dsw <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"program.obj <span style='color:#111;'> 22.68KB </span>","children":null,"spread":false},{"title":"program.exe <span style='color:#111;'> 1.89MB </span>","children":null,"spread":false},{"title":"programDoc.obj <span style='color:#111;'> 14.98KB </span>","children":null,"spread":false},{"title":"shockwaveflash.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 364.00KB </span>","children":null,"spread":false},{"title":"MainFrm.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Managers.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"chess.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"roll.swf <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 233.00KB </span>","children":null,"spread":false},{"title":"programView.obj <span style='color:#111;'> 62.92KB </span>","children":null,"spread":false},{"title":"programView.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"program.res <span style='color:#111;'> 1.45MB </span>","children":null,"spread":false},{"title":"chess.obj <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"Computer.obj <span style='color:#111;'> 10.04KB </span>","children":null,"spread":false},{"title":"program.ilk <span style='color:#111;'> 485.59KB </span>","children":null,"spread":false},{"title":"program.bsc <span style='color:#111;'> 5.23MB </span>","children":null,"spread":false},{"title":"MainFrm.obj <span style='color:#111;'> 15.49KB </span>","children":null,"spread":false},{"title":"shockwaveflash.obj <span style='color:#111;'> 99.46KB </span>","children":null,"spread":false},{"title":"Managers.obj <span style='color:#111;'> 17.70KB </span>","children":null,"spread":false},{"title":"program.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 105.57KB </span>","children":null,"spread":false},{"title":"Computer.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.32MB </span>","children":null,"spread":false},{"title":"program.pdb <span style='color:#111;'> 529.00KB </span>","children":null,"spread":false},{"title":"programDoc.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"program.pch <span style='color:#111;'> 6.62MB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"~VC4B.tmp <span style='color:#111;'> 512B </span>","children":null,"spread":false},{"title":"program.rc <span style='color:#111;'> 10.75KB </span>","children":null,"spread":false},{"title":"shockwaveflash.h <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"~VC4C.tmp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Chess.h <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"Managers.h <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"shockwaveflash.cpp <span style='color:#111;'> 16.33KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"program.obj <span style='color:#111;'> 15.72KB </span>","children":null,"spread":false},{"title":"program.exe <span style='color:#111;'> 1.48MB </span>","children":null,"spread":false},{"title":"programDoc.obj <span style='color:#111;'> 9.22KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 65.00KB </span>","children":null,"spread":false},{"title":"programView.obj <span style='color:#111;'> 37.72KB </span>","children":null,"spread":false},{"title":"program.res <span style='color:#111;'> 1.44MB </span>","children":null,"spread":false},{"title":"chess.obj <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"Computer.obj <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"MainFrm.obj <span style='color:#111;'> 10.21KB </span>","children":null,"spread":false},{"title":"shockwaveflash.obj <span style='color:#111;'> 51.39KB </span>","children":null,"spread":false},{"title":"Managers.obj <span style='color:#111;'> 8.15KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"program.pch <span style='color:#111;'> 5.43MB </span>","children":null,"spread":false}],"spread":false},{"title":"Computer.cpp <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"programView.cpp <span style='color:#111;'> 23.10KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"yellowmask.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"background.bmp <span style='color:#111;'> 1.37MB </span>","children":null,"spread":false},{"title":"program.rc2 <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"program.ico <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"programDoc.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"yellowplane.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"blueplane.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"redplane.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"redmask.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'> 40.00KB </span>","children":null,"spread":false},{"title":"bluemask.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"roll.bmp <span style='color:#111;'> 32.87KB </span>","children":null,"spread":false},{"title":"greenmask.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"greenplane.bmp <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"cursor1.cur <span style='color:#111;'> 326B </span>","children":null,"spread":false}],"spread":false},{"title":"program.ncb <span style='color:#111;'> 457.00KB </span>","children":null,"spread":false},{"title":"program.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"program.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"program.plg <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • 懒得去名字 :
    色子点击出现空白怎么回事?是缺少控件吗?菜鸟求教!
    2019-12-07
  • c69 :
    人机模式怎么启动?
    2018-12-14
  • qq_43103137 :
    好,很实用,帮助很大
    2018-09-11

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明