俄罗斯方块 JAVA版

上传者: kavilee11 | 上传时间: 2019-12-21 20:02:53 | 文件大小: 509KB | 文件类型: rar
一、 课程题目 用JAVA语言编写俄罗斯方块游戏,实现俄罗斯方块游戏的基本功能。课题主要完成目标是利用小应用程序模版及按钮事件、多线程以及相关事件处理完成俄罗斯方块游戏的操作程序。应用到的技术包括类的继承,接口的引用以及各类中重要方法的充分运用paint方法绘制游戏区,移动有效性判断locateFlag(),等),以及多线程的应用实现对方块下落速度的控制(线程的应用(线程的创建、run()方法的使用)),完成后可以巩固JAVA知识,能灵活应用JAVA的相关技术。 二、 题目分析与设计 1、 可行性分析 项目涉及的相关技术在以前都学习过,能够使用小应用程序游戏界面的展示。用Image 对象创建画布,用paint( )方法在画布上绘制棋盘,实现基本界面;利用线程实现方块的不断下落;继承KeyAdapter创建其子类GameKeyLister实现变形;disappear ()实现消行,得分。

文件下载

资源详情

[{"title":"( 37 个子文件 509KB ) 俄罗斯方块 JAVA版","children":[{"title":"com.kavilee.ErsBlocks","children":[{"title":".project <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"view","children":[{"title":"gameOptionPanel.java <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false},{"title":"PreviewPanel.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"GamePanel.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"helpPanel.java <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"MainFrame.java <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"Controller.java <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"Global.java <span style='color:#111;'> 217B </span>","children":null,"spread":false}],"spread":true},{"title":"listener","children":[{"title":"GameListener.java <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"ShapeListener.java <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"GroundListener.java <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"ShapeFactoryListener.java <span style='color:#111;'> 103B </span>","children":null,"spread":false}],"spread":true},{"title":"game","children":[{"title":"ShapeFactory.java <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"Ground.java <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"Shape.java <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"123.png <span style='color:#111;'> 138.33KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 629B </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"view","children":[{"title":"gameOptionPanel.class <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"MainFrame$1.class <span style='color:#111;'> 787B </span>","children":null,"spread":false},{"title":"helpPanel.class <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"GamePanel.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"PreviewPanel.class <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"MainFrame$2.class <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"MainFrame.class <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"Controller.class <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"Global.class <span style='color:#111;'> 396B </span>","children":null,"spread":false}],"spread":true},{"title":"listener","children":[{"title":"ShapeListener.class <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"GameListener.class <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"ShapeFactoryListener.class <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"GroundListener.class <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":true},{"title":"game","children":[{"title":"ShapeFactory.class <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"Shape.class <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false},{"title":"Ground.class <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"Shape$ShapeDriver.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"123.png <span style='color:#111;'> 138.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"JAVA课程设计报告——俄罗斯方块.docx <span style='color:#111;'> 256.34KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • huanglei724 :
    很完整,下载的第一个比较齐全的,好好看看
    2019-04-29
  • huanglei724 :
    很完整,下载的第一个比较齐全的,好好看看
    2019-04-29
  • afanwhpu :
    代码很好用,就是不是十分精致
    2018-09-17
  • afanwhpu :
    代码很好用,就是不是十分精致
    2018-09-17
  • huangmingcong04 :
    代码可以用,只是做法有点复杂。还分了很多个包
    2015-08-22
  • huangmingcong04 :
    代码可以用,只是做法有点复杂。还分了很多个包
    2015-08-22
  • u010289197 :
    代码很好用,就是不是十分精致
    2015-01-16
  • 想你的夜713 :
    代码很好用,就是不是十分精致
    2015-01-16
  • u011145466 :
    代码很好用,就是不是十分精致
    2014-07-07
  • u011145466 :
    代码很好用,就是不是十分精致
    2014-07-07

免责申明

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