文件名称:Ball_Game
介绍说明--下载内容均来自于网络,请自行研究使用
用户能通过GUI组件指定生成小球的数量,每个小球将从随机的位置出现,并具有随机颜色,随机速度以及随机的运动方向,小球沿初始方向匀速运动,当碰到窗口边缘时,小球将依据受力原理改变运动方向(可简化考虑,受力只改变小球的运动方向,小球仍按照初始速度匀速运动,且不考虑小球之间的碰撞)。
鼠标在界面中显示为方块状,玩家需来回移动鼠标以避开运动的小球及屏幕四周,如果鼠标碰到任一小球或者窗口四周,则游戏结束。
程序需提供计时功能,并最终显示玩家能坚持多少秒。
-User generated through the GUI components specify the number of balls, each ball emerged from the random position, and with random colors, random speed and random direction of motion, the ball along the initial direction of uniform motion, when it comes to the window Edge, the ball will be based on the principle to change the force direction of motion (to simplify considerations, the force only change the direction of movement of the ball, the ball is still in accordance with the initial velocity of uniform motion, and does not consider the collision between the ball). Mouse appear in the interface block party, the player must move the mouse back and forth to avoid the movement of the ball and the screen around, if the mouse or hit any ball around windows, the game is over. Program must provide a timing function, and ultimately shows how many seconds the player can hold.
鼠标在界面中显示为方块状,玩家需来回移动鼠标以避开运动的小球及屏幕四周,如果鼠标碰到任一小球或者窗口四周,则游戏结束。
程序需提供计时功能,并最终显示玩家能坚持多少秒。
-User generated through the GUI components specify the number of balls, each ball emerged from the random position, and with random colors, random speed and random direction of motion, the ball along the initial direction of uniform motion, when it comes to the window Edge, the ball will be based on the principle to change the force direction of motion (to simplify considerations, the force only change the direction of movement of the ball, the ball is still in accordance with the initial velocity of uniform motion, and does not consider the collision between the ball). Mouse appear in the interface block party, the player must move the mouse back and forth to avoid the movement of the ball and the screen around, if the mouse or hit any ball around windows, the game is over. Program must provide a timing function, and ultimately shows how many seconds the player can hold.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
弹球游戏
........\.classpath
........\.project
........\.settings
........\.........\org.eclipse.jdt.core.prefs
........\1.gif
........\bin
........\...\ball.class
........\...\frame$1.class
........\...\frame$ButtonHandler.class
........\...\frame$MouseHandler.class
........\...\frame.class
........\...\Setball$MouseHandler.class
........\...\Setball.class
........\...\Time.class
........\src
........\...\ball.java
........\.classpath
........\.project
........\.settings
........\.........\org.eclipse.jdt.core.prefs
........\1.gif
........\bin
........\...\ball.class
........\...\frame$1.class
........\...\frame$ButtonHandler.class
........\...\frame$MouseHandler.class
........\...\frame.class
........\...\Setball$MouseHandler.class
........\...\Setball.class
........\...\Time.class
........\src
........\...\ball.java