登录
首页 » java » 坦克大战实现代码

坦克大战实现代码

于 2022-02-06 发布 文件大小:1.16 MB
0 135
下载积分: 2 下载次数: 1

代码说明:

这是一个功能相对全的JAVA版坦克大战,界面绘制是通过JAVA的图形化用户界面完成的,包括了菜单界面和游戏界面。其中菜单界面可以供玩家选择重新开始游戏、暂停、继续、是否播放背景音乐、帮助等操作;游戏界面绘制了坦克、河流、草地、鹰碉堡等经典坦克场景,玩家在游戏界面操作坦克开始对战。          本游戏使用的主要技术有Swing编程、面向对象编程、多线程编程。本想用I/O编程实现保存游戏数据,感觉单机版的没必要就没弄。 游戏实现的主要功能有: 1.坦克可以上下左右、以及左上左下右上右下八个方向移动,移动时添加音效 2.坦克可以发子弹(可以连发),发射时添加音效 3.击中对方坦克时,坦克消失,显示爆炸效果;子弹击中鹰碉堡时,游戏结束;子弹击中墙壁时,子弹消失 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

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

发表评论

0 个回复

  • touziyouxi
    用java语言写的代码,模仿掷骰子游戏,不过不是图形界面。(Use Java language writing code, imitate rolls the dice game, but not graphics interface.)
    2011-12-10 12:41:00下载
    积分:1
  • 五子棋小游戏
    java实现五子棋小游戏,实现两人对弈,能准确判断输赢,界面清晰流畅,小客户端,占用内存小,随时可以对弈,无需注册,可重复进行游戏,无需退出
    2022-06-22 05:41:22下载
    积分:1
  • 一个初学者可用的拼图小游戏代码
    java图形编程之初学者可用的拼图小游戏~
    2022-02-16 08:43:05下载
    积分:1
  • Java在金融财务领域中的应用,包含了多个小程序
    Java在金融财务领域中的应用,包含了多个小程序-Java in Finance in the field of applications, including a number of small programs
    2022-05-09 01:46:54下载
    积分:1
  • 本人最近在为某统计局开发项目时,涉及到在网页上动态生成图片的问题,费了一天的时间,终于搞定,为帮助大家在以后遇到同样的问题时不走弯路,现将设计思想及源代码公布出...
    本人最近在为某统计局开发项目时,涉及到在网页上动态生成图片的问题,费了一天的时间,终于搞定,为帮助大家在以后遇到同样的问题时不走弯路,现将设计思想及源代码公布出来,与大家共勉。以下代码在Windows2000成功测试通过,Web应用服务器采用Allaire公司的Jrun3.0。-I recently Statistics for the development of a project that involves the website dynamically generated pictures, charges the day time, and finally get to help you in the future encountered the same problem without detours, now design and source code announced, we shall. The following code in Windows 2000 through successfully tested, Web Application Server using Allaire"s Jrun3.0.
    2022-10-29 01:20:03下载
    积分:1
  • zhongduoxiangqi
    java游戏原码,中国象棋(java source games, Chinese chess)
    2008-06-25 15:20:59下载
    积分:1
  • MSG基金研究实例
    软件工程 [美]Stephen R.Schach 课本中的MSG基金研究实例 源代码 JAVA版
    2022-06-02 02:36:55下载
    积分:1
  • java jstl 页面开发包
    资源描述/*  * The Apache Software License, Version 1.1  *  * Copyright (c) 1999 The Apache Software Foundation.  All rights   * reserved.  *  * Redistribution and use in source and binary forms, with or without  * modification, are permitted provided that the following conditions  * are met:  *  * 1. Redistributions of source code must retain the above copyright  *    notice, this list of conditions and the following disclaimer.   *  * 2. Redistributions in binary form must reproduce the above copyright  *    notice, this list of conditions and the following disclaimer in  *    the documentation and/or other materials provided with the  *    distribution.  *  * 3. The end-user documentation included wit
    2023-03-28 00:35:04下载
    积分:1
  • ScrollViewButtonsAndLabels
    Basic scroll view example Source Code for Andriod.
    2013-11-22 15:13:15下载
    积分:1
  • Wind
    一款简单的安卓应用,音乐播放器.适合android自学者学习使用(android program , music player)
    2012-09-09 17:18:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载