登录
首页 » Java » JAVA2048游戏

JAVA2048游戏

于 2020-11-23 发布
0 156
下载积分: 1 下载次数: 1

代码说明:

说明:  本课程设计是基于java语言的2048小游戏设计,本游戏可通过键盘方向键来控制方块的移动,玩家每次可以选择上下左右其中一个方向去移动,每移动一次,所有的数字方块都会往移动的方向靠拢外,系统也会在空白的地方随机出现一个数字方块,相同数字的方块在靠拢、相撞时会相加。同时上面有分数显示和最高分,后期加入了很多图片,有了图形化的界面,开发基于eclipss开发平台,代码完美运行。(This course design is based on the 2048 mini game design of java language. This game can control the movement of the blocks through the keyboard arrow keys. Players can choose one of the up, down, left, and right directions to move each time. Every time they move, all the number blocks will move. In addition to moving closer in the direction, the system will also randomly appear a number square in the blank place, and the squares of the same number will add up when they move closer or collide. At the same time, there is a score display and the highest score, and a lot of pictures were added later, with a graphical interface, the development is based on the eclipss development platform, and the code runs perfectly.)

文件列表:

JAVA2048游戏, 0 , 2020-01-11
JAVA2048游戏\.classpath, 232 , 2014-06-05
JAVA2048游戏\.project, 384 , 2014-04-04
JAVA2048游戏\.settings, 0 , 2020-01-11
JAVA2048游戏\.settings\org.eclipse.jdt.core.prefs, 629 , 2014-04-04
JAVA2048游戏\2048.jar, 21601 , 2014-06-06
JAVA2048游戏\bin, 0 , 2020-01-11
JAVA2048游戏\bin\control, 0 , 2020-01-11
JAVA2048游戏\bin\control\GameControl.class, 2041 , 2018-12-28
JAVA2048游戏\bin\data, 0 , 2020-01-11
JAVA2048游戏\bin\data\Dto.class, 1491 , 2018-12-28
JAVA2048游戏\bin\data\Resources.class, 2055 , 2018-12-28
JAVA2048游戏\bin\main, 0 , 2020-01-11
JAVA2048游戏\bin\main\Start.class, 1045 , 2018-12-28
JAVA2048游戏\bin\service, 0 , 2020-01-11
JAVA2048游戏\bin\service\GameService.class, 7286 , 2018-12-28
JAVA2048游戏\bin\ui, 0 , 2020-01-11
JAVA2048游戏\bin\ui\Background.class, 804 , 2018-12-28
JAVA2048游戏\bin\ui\MainFrame$1.class, 857 , 2018-12-28
JAVA2048游戏\bin\ui\MainFrame.class, 807 , 2018-12-28
JAVA2048游戏\bin\ui\MainGame.class, 1894 , 2018-12-28
JAVA2048游戏\bin\ui\MainPanel.class, 1335 , 2018-12-28
JAVA2048游戏\bin\ui\Score.class, 1757 , 2018-12-28
JAVA2048游戏\bin\ui\Scoreboard.class, 763 , 2018-12-28
JAVA2048游戏\res, 0 , 2020-01-11
JAVA2048游戏\res\1024.png, 2411 , 2014-06-04
JAVA2048游戏\res\128.png, 2660 , 2014-06-04
JAVA2048游戏\res\16.png, 2130 , 2014-06-04
JAVA2048游戏\res\2.png, 1759 , 2014-06-04
JAVA2048游戏\res\2048.png, 3227 , 2014-06-04
JAVA2048游戏\res\256.png, 2887 , 2014-06-04
JAVA2048游戏\res\32.png, 2380 , 2014-06-04
JAVA2048游戏\res\4.png, 1535 , 2014-06-04
JAVA2048游戏\res\512.png, 2375 , 2014-06-04
JAVA2048游戏\res\64.png, 2212 , 2014-06-04
JAVA2048游戏\res\8.png, 1898 , 2014-06-04
JAVA2048游戏\res\bg.png, 5184 , 2014-06-05
JAVA2048游戏\res\fail.wav, 658988 , 2014-06-05
JAVA2048游戏\res\fg.png, 1643 , 2014-06-04
JAVA2048游戏\res\highscore.png, 3083 , 2014-06-05
JAVA2048游戏\res\immovable.wav, 54912 , 2004-06-27
JAVA2048游戏\res\num.png, 4491 , 2014-04-08
JAVA2048游戏\res\record.txt, 5 , 2014-06-08
JAVA2048游戏\res\score.png, 2392 , 2014-06-05
JAVA2048游戏\res\Slide.wav, 11056 , 2004-06-27
JAVA2048游戏\res\victory.wav, 118016 , 2014-06-05
JAVA2048游戏\src, 0 , 2020-01-11
JAVA2048游戏\src\control, 0 , 2020-01-11
JAVA2048游戏\src\control\GameControl.java, 2510 , 2014-06-08
JAVA2048游戏\src\data, 0 , 2020-01-11
JAVA2048游戏\src\data\Dto.java, 1029 , 2014-06-08
JAVA2048游戏\src\data\Resources.java, 1746 , 2014-06-08
JAVA2048游戏\src\main, 0 , 2020-01-11
JAVA2048游戏\src\main\Start.java, 712 , 2014-06-08
JAVA2048游戏\src\service, 0 , 2020-01-11
JAVA2048游戏\src\service\GameService.java, 8230 , 2014-06-08
JAVA2048游戏\src\ui, 0 , 2020-01-11
JAVA2048游戏\src\ui\Background.java, 450 , 2014-06-08
JAVA2048游戏\src\ui\MainFrame.java, 872 , 2014-06-06
JAVA2048游戏\src\ui\MainGame.java, 2101 , 2014-06-08
JAVA2048游戏\src\ui\MainPanel.java, 1045 , 2014-06-08
JAVA2048游戏\src\ui\Score.java, 1649 , 2014-06-08
JAVA2048游戏\src\ui\Scoreboard.java, 378 , 2014-06-08

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

发表评论

0 个回复

  • 51单片机实现12864贪吃蛇
    51单片机实现12864贪吃蛇,单片机型号stc89c52rc  端口定义在程序中,可实现贪吃蛇游戏,计分,通关,带音乐提示,通关有音乐,死亡也有音乐,用的单片机驱动蜂鸣器发声
    2022-01-25 16:48:06下载
    积分:1
  • SNAHAN
    很好玩的用C写的贪吃蛇,代码易懂,简明清晰,适合于初学者(is a lot of fun to write the C of the huge memory, code understandable, clear and concise, and suitable for beginners)
    2007-06-10 22:23:58下载
    积分:1
  • snake
    利用控制台操作实现界面贪吃蛇,功能具有代表性(use the perform of controlling to realise snake)
    2012-11-09 00:16:58下载
    积分:1
  • 3D编程大师技巧
    说明:  此书虽然被嫌弃过时了,但对于游戏开发新手而言,通过此书了解渲染管线非常好(The book is a bit outdated,however,you can benifit a lot about rendering ripe by reading it.)
    2020-06-18 15:40:01下载
    积分:1
  • Invasion_src (1)
    说明:  一款由vc6.0编译的飞船入侵游戏,其中用DirectX进行图形和渲染,玩家通过左右键和空格键移动飞船和发射子弹。(A spaceship invasion game compiled by vc6.0, in which DirectX is used for graphics and rendering. Players move spaceships and launch bullets through the left and right keys and the space bar.)
    2020-06-16 18:09:27下载
    积分:1
  • work
    数独游戏 a) 设计一个命令行界面的游戏,登入游戏界面后,应该有游戏规则说明,按键说明。 b) 进入游戏前应该有难度选择:1表示简单、2表示中等、3表示困难。 c) 在游戏主界面中有可以循环输入数独值、可以连续玩好几局直到退出、检查结果、查看答案、新开一局的功能。 d) 信息提示功能:输入错误时应有提示、游戏失败或获取胜利时应有庆祝界面等。 (Sudoku a) the design of a command-line interface of the game, log into the game interface, there should be rules of the game description, key instructions. b) prior to entering the game should have difficulty options: 1 means simple, 2 for moderate, 3 for difficulty. c) There can be recycled input Sudoku value, you can continuously play several bureau until you exit the game the main interface, test results, see the answer, features a newly opened office. d) Information prompts: input error when prompted, the game fails or gets victory should have celebrated interface.)
    2014-07-06 23:06:58下载
    积分:1
  • sdk_dfj
    说明:  一个用SDK写的打飞机游戏 对学SDK很有帮助(an SDK with the aircraft was made to learn the game SDK helpful)
    2006-03-29 22:17:14下载
    积分:1
  • BWChess
    C++开发的BWChess黑白棋游戏,界面差不多,功能挺多的,可以与电脑下棋也可以人与人对战,可以提醒,记录对战排行榜。(C++ development BWChess Reversi game, the interface is similar to the挺多function, you can play chess with the computer can also be against people can be reminded to record against the list.)
    2009-07-12 11:13:40下载
    积分:1
  • sPCK
    完美世界游戏客户端pck解包打包工具,同时支持cup更新包解包。(Perfect world game client PCK unpack packaging tools, at the same time support CPU update package. )
    2013-10-24 15:03:00下载
    积分:1
  • tuixiangzi-src
    一款推箱子游戏的源代码,希望可以对游戏编程有帮助(I hope the source code of a Sokoban game can help your game programming)
    2012-03-23 09:09:09下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载