-
JAVA2048游戏
说明: 本课程设计是基于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.)
- 2020-11-23 10:57:11下载
- 积分:1
-
3365711420015616
零工劳务管理信息系统,用户注册,登陆,发布信息(Gig labor management information system, user registration, login, release information)
- 2020-06-17 05:20:01下载
- 积分:1
-
cluster
说明: 我做的用Kmeans方法,分别采用欧式距离。夹角余弦,和度量函数的方法来表示两点的相似度(I do use Kmeans methods were used Euclidean distance. Angle cosine, and methods of measurement functions to represent the similarity of two)
- 2010-04-30 15:08:09下载
- 积分:1
-
android 解锁例子源码
package com.codeshogun.android.swipesample;import android.app.Activity;import android.os.Bundle;import android.view.GestureDetector;import android.view.MotionEvent;import android.view.View;import android.view.GestureDetector.SimpleOnGestureListener;import android.view.animation.Animation;import android.view.animation.AnimationUtils;import android.widget.ViewFlipper;public class Main extends Activity { private static final int SWIPE_MIN_DISTANCE = 120; private static final int SWIPE_MAX_OFF_PATH = 250; private static final int SWIPE_THRESHOLD_VELOCITY = 200; private GestureDetector gestureDetector; View.OnTouchListener gestureListener; private Animation slideLeftIn; private Animation slideLeftOut; private Animation slideRightIn; private Animation slideRightOut; private ViewFlipper viewFlipper; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); viewFlipper = (ViewFlipper)findViewById(R.id.flipper); slideLeftIn = AnimationUtils.loadAnimation(this, R.anim.slide_left_in); slideLeftOut = AnimationUtils.loadAnimation(this, R.anim.slide_left_out); slideRightIn = AnimationUtils.loadAnimation(this, R.anim.slide_right_in); slideRightOut = AnimationUtils.loadAnimation(this, R.anim.slide_right_out); gestureDetector = new GestureDetector(new MyGestureDetector()); gestureListener = new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { if (gestureDetector.onTouchEvent(event)) { return true; } return false; } }; } class MyGestureDetector extends SimpleOnGestureListener { @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { try { if (Math.abs(e1.getY() - e2.getY()) > SWIPE_MAX_OFF_PATH) return false; // right to left swipe if(e1.getX() - e2.getX() > SWIPE_MIN_DISTANCE && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { viewFlipper.setInAnimation(slideLeftIn); viewFlipper.setOutAnimation(slideLeftOut); viewFlipper.showNext(); } else if (e2.getX() - e1.getX() > SWIPE_MIN_DISTANCE && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { viewFlipper.setInAnimation(slideRightIn); viewFlipper.setOutAnimation(slideRightOut); viewFlipper.showPrevious(); } } catch (Exception e) { // nothing } return false; } } @Override public boolean onTouchEvent(MotionEvent event) { if (gestureDetector.onTouchEvent(event)) return true; else return false; }}
- 2014-04-16下载
- 积分:1
-
Hibernate.Shards.Test
HIBRENATE SHARD开发文档,是官方文档的翻译后的成果(HIBRENATE SHARD development docs)
- 2013-12-12 14:41:12下载
- 积分:1
-
android 解析 Rss xml 例子
android 解析 Rss xml 例子
- 2013-07-05下载
- 积分:1
-
不错的反编译工具,挺好的可以用一下,也有反编不了的
不错的反编译工具,挺好的可以用一下,也有反编不了的-good anti-compiler tool, it"s quite good with that provision is not the anti-
- 2022-03-28 10:52:11下载
- 积分:1
-
ThreadAction
在Windows的eclipse中查看JVM的所有线程的活动状态(View activity status of all threads in the JVM)
- 2015-04-16 10:04:32下载
- 积分:1
-
sping下勇Xdoclet开发hibernate的程序实例,版本hibernate2.0,开发工具eclipse3.0...
sping下勇Xdoclet开发hibernate的程序实例,版本hibernate2.0,开发工具eclipse3.0-sping under-yong Xdoclet pertains to the development of procedures example, version hibernate2.0, development tools eclipse3.0
- 2022-01-26 17:31:00下载
- 积分:1
-
1
说明: 约瑟夫圈问题 (Joseph circle problem )
- 2009-02-26 10:17:53下载
- 积分:1