设计GUI(Graphical User Interface)界面的动物换位游戏,游戏的结果是让左右两组动物交换位置。具体要求如下: 1.程序分为3个级别,用户通过菜单来选择初级、中级和高级。对于初级,在水平排列的7块石头上的左右各有3个类型相同的动物,中间的石头上没有动物;对于中级,在水平排列的 块石头上的左右各有4个类型相同的动物,中间的石头上没有动物;对于高级,在水平排列的11块石头上左右各有5个类型相同的动物,中间的石头上没有动物。 2.用鼠标单击一个动物,如果该动物前方的石头上没有动物,该动物跳跃到该石头上,如果该动物前方的石头上有其他动物,但隔位上的石头没有动物,该动物就越过自己前面的动物跳跃到石头上,其他情形时,该动物不跳跃(跳跃时不能越过2块石头)。 3.左面的动物只能向右方跳跃,右面的动物只能向左方跳跃。 4.用户可以通过界面提供的按钮,让程序自动完成动物换位。 5.可以随时重新开始不同的级别。 6.用户通过菜单选项,可以选择左、右动物的图像。
2019-12-21 18:53:01 7.09MB 动物交换
1
bmp/rgb24转成nv21/nv12的java代码,经实际测试是正确的,网上很多提供的JAVA代码实际上转换成来的格式不对,附件里是java的完整代码,直接编译即可生成face.nv21 face.nv12两种格式文件,可使用yuvplayer.exe打开相应文件验证是否正确,也可替换工程里的face.bmp.
2019-12-21 18:51:54 1.23MB java nv12 nv21 rgb
1
银行家算法JAVA代码实现,附带图形化界面,一般,就是希望给大家一个参考,申请的资源是随机的
2019-12-21 18:51:20 3KB 银行家算法JAVA代码实现
1
离线地图-瓦片通过java代码自动下载,自己指定下载的层级区域
2019-12-21 18:48:16 18.79MB 离线地图
1
数据库的课程设计,用JAVA实现的代码,很用心做。不懂的地方可以请教,医院管理系统,只是实现了一些功能,根据系统要求做的功能,对于一个课程设计来说是可以的了。
2019-12-21 18:43:04 16.52MB 课程设计
1
人机对拿火柴的游戏程序 游戏过程要显示火柴总数 选择谁先拿
2019-11-27 13:25:59 1KB 拿火柴游戏 java
1
使用webUploader实现大文件的断点续传,其中redis记录文件的上传信息,包括基本信息、历史文件夹名称和进度信息等。
2019-08-27 10:26:22 20KB 断点续传
1
使用豆瓣API,根据书籍ISBN码,获取该本书籍的详细信息
2018-06-24 14:10:13 661KB 豆瓣书籍API API获取书籍 Java代码
1
《java项目开发实战密码》代码(1-12)
2018-04-20 17:04:51 27.1MB java 代码 项目开发实战
1
一个很强大的工具, 能将c#代码片段、文件甚至工程直接转换成java代码,并能彻底解决外部引用的DLL问题,最强的是支持c#工程的直接转换,生成的Java代码质量也很不错。软件已破解,去除了未注册版最多只能转换1000行的限制,亲测可用!压缩包内含帮助文档,不过由于软件的使用很简单,帮助文档基本可以忽略。(小提示:如无法运行,请确认是否安装了.NET framework) 下面是一些英文介绍: C# to Java Converter features include: 1. Folder conversion: Entire folders of C# code files are converted to Java code files.(文件夹转换) 2. Code snippet and file conversion: Our snippet conversion accuracy is outstanding and does not require you to insert entire methods or classes. Heuristics are used to convert code fragments with missing declarations. (代码片段和文件转换) 3. Full support for the latest .NET code syntax: Generics and other newer C# features are converted where possible to the Java equivalent.(全面支持最新版的.NET语法) 4. Conversion options: You can specify numerous conversion options via our Options dialog. Code formatting options, custom type & member replacements, custom string replacements, and miscellaneous options. (可以指定转换规则) 5. File comparison feature: After converting a project or folder, you can compare original and converted files side-by-side. Comparing converted code to original code.(原代码与转换后代码的比较) 6. Running from the command line: C# to Java Converter can be launched directly for a specific project, folder, or file conversion from the command line. Command line.(命令行执行) 其他一些特点: 1. Converts all versions of C# code (2002, 2003, 2005, 2008, and 2010) (可以转换所有版本的C#代码) 2. Evaluates all referenced assemblies and .NET projects in order to resolve external references more completely.(能彻底解决外部引用的dll类库) 3. Converts C# ref parameters using Java generics 4. Superb conversions of all types of arrays 5. Handles the numerous coding alternatives and ambiguities of C# code 6. Flawless conversion of all aspects of inheritance and interfaces 7. Allows custom replacement of strings in the final converted code 8. Accurate even with poorly formatted C# code
2011-04-19 00:00:00 259KB C# 转换 Java Convert
1