Java课程设计 坦克大战 (源代码和实验报告)

上传者: helloworld_fhc | 上传时间: 2019-12-21 19:51:47 | 文件大小: 245KB | 文件类型: rar
目录 摘要 1 一、 概要设计 2 1.1 游戏规则 2 1.2 游戏界面和操作方式 2 1.3 程序的主要运行过程 2 1.4 本程序需要解决的有关技术问题 2 二、 系统详细设计 3 2.1构建游戏主类TankClient 3 2.2构建坦克类Tank 3 2.3添加炮弹Missile类 5 2.4实现坦克的互相攻击 5 2.4.1让主战打出炮弹 5 2.4.2实现坦克的互相开火 6 2.4.3添加多辆坦克 6 2.4.4让坦克更加智能 7 2.5创建Explode类 8 2.6添加药箱BloodBox 8 2.7添加Home 9 2.8 添加障碍物 9 2.8.1 添加金属墙 9 2.8.2 添加普通墙 10 2.8.3 添加河水 10 2.9添加树林 10 3.0加入图片替换主窗口中的各对象 10 三 游戏最终运行界面 11 四 总结 11 五 参考文献 12

文件下载

资源详情

[{"title":"( 96 个子文件 245KB ) Java课程设计 坦克大战 (源代码和实验报告)","children":[{"title":"java课程设计","children":[{"title":"封面.doc <span style='color:#111;'> 23.00KB </span>","children":null,"spread":false},{"title":"TankWar","children":[{"title":".project <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Home.class <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"TankClient$KeyMonitor.class <span style='color:#111;'> 826B </span>","children":null,"spread":false},{"title":"River.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Missile.class <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"TankClient.class <span style='color:#111;'> 7.65KB </span>","children":null,"spread":false},{"title":"TankClient$PaintThread.class <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"TankClient$1.class <span style='color:#111;'> 639B </span>","children":null,"spread":false},{"title":"BloodBox.class <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"Tank$BloodBar.class <span style='color:#111;'> 1000B </span>","children":null,"spread":false},{"title":"OrdinaryWall.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"Direction.class <span style='color:#111;'> 1022B </span>","children":null,"spread":false},{"title":"Explode.class <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"MetalWall.class <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"Images","children":[{"title":"blood.jpg <span style='color:#111;'> 11.63KB </span>","children":null,"spread":false},{"title":"1.gif <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"river.jpg <span style='color:#111;'> 13.75KB </span>","children":null,"spread":false},{"title":"missileRU.gif <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"8.gif <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"missileD.gif <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"missileLU.gif <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"金属墙.gif <span style='color:#111;'> 8.19KB </span>","children":null,"spread":false},{"title":"10.gif <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"missileLD.gif <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"tankRU.gif <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"tree.gif <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false},{"title":"普通墙.gif <span style='color:#111;'> 7.96KB </span>","children":null,"spread":false},{"title":"tankLD.gif <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"tankLU.gif <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"tankL.gif <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"tankRD.gif <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"7.gif <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"missileL.gif <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"missileRD.gif <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"home.jpg <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"0.gif <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"tankR.gif <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"tankD.gif <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"4.gif <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"3.gif <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"missileU.gif <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"5.gif <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"2.gif <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"6.gif <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"tankU.gif <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"missileR.gif <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"9.gif <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"Tree.class <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"Tank.class <span style='color:#111;'> 8.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"Missile.java <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"Home.java <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"OrdinaryWall.java <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"Explode.java <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"Tree.java <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"TankClient.java <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"Tank.java <span style='color:#111;'> 7.26KB </span>","children":null,"spread":false},{"title":"BloodBox.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"Direction.java <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"River.java <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"Images","children":[{"title":"blood.jpg <span style='color:#111;'> 11.63KB </span>","children":null,"spread":false},{"title":"1.gif <span style='color:#111;'> 868B </span>","children":null,"spread":false},{"title":"river.jpg <span style='color:#111;'> 13.75KB </span>","children":null,"spread":false},{"title":"missileRU.gif <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"8.gif <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"missileD.gif <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"missileLU.gif <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"金属墙.gif <span style='color:#111;'> 8.19KB </span>","children":null,"spread":false},{"title":"10.gif <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"missileLD.gif <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"tankRU.gif <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"tree.gif <span style='color:#111;'> 10.24KB </span>","children":null,"spread":false},{"title":"普通墙.gif <span style='color:#111;'> 7.96KB </span>","children":null,"spread":false},{"title":"tankLD.gif <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"tankLU.gif <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"tankL.gif <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"tankRD.gif <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"7.gif <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"missileL.gif <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"missileRD.gif <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"home.jpg <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"0.gif <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"tankR.gif <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"tankD.gif <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"4.gif <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"3.gif <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"missileU.gif <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"5.gif <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"2.gif <span style='color:#111;'> 936B </span>","children":null,"spread":false},{"title":"6.gif <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"tankU.gif <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"missileR.gif <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"9.gif <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"MetalWall.java <span style='color:#111;'> 842B </span>","children":null,"spread":false}],"spread":false},{"title":".classpath <span style='color:#111;'> 232B </span>","children":null,"spread":false}],"spread":true},{"title":"java课程设计报告(新).doc <span style='color:#111;'> 304.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 赵广陆 :
    做的不错 界面花功夫了
    2020-05-21
  • qq_39156044 :
    很好,不错,可惜用不上
    2017-11-03
  • lxclxc123lxc :
    不错的学习资源
    2016-07-20
  • u010799910 :
    运行已成功,除了注释少以外,其他都是很
    2015-04-02
  • qq_25371067 :
    很完整很完美
    2015-01-17

免责申明

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