Develop a visual design in java, JAVA Programming

Player Ship Appearance:

• Your ship must be either a nice-looking sphere (left image above), or a nice-looking sphere with a "mouth" (middle image above), depending on variant.

• For mouth ships, the mouth gap must be no more than 3/4 of the diameter of the ship. The middle image above shows a ship with such a mouth.

• The mouth can be any shape. I have used a cirle in the images because it was easy to draw.

• Mouth collision: Test if the point on the circumference is within the enemy ship's circle. The right image shows a small yellow star where the circumference point would be.

Player Ship Motion:

• Your ship moves by expelling tiny spheres opposite to the direction of motion. As Isaac Newton said: Every action has an equal and opposite reaction.

• The mass of the player's ship is equal to its area. Expelling small masses decreases the mass of player's ship, and thus its area.

• Clicking the mouse left button sets the direction in which the mass is expelled. When the mouse is pressed, construct a vector from the player's ship to the mouse location.

• The mass expelled is 1% of the mass of player's ship.

• The expelled masses join the collection of masses floating around in the play area. That is, they become enemy ships!

There are many instances of an enemy ship in the play area. Each enemy ship interacts with all of the rest of enemy ships and the player ship.

Enemy Ship Appearance:

• Each enemy ship is a circle.

• Each enemy ship starts with a random area.

• Enemy ships are red if bigger than the player's ship, and blue if smaller.

Enemy Ship Motion:

• Each enemy ship starts with a random velocity.

• Enemy ships drift passively.

The primary variations of this game are how the enemy ships in the scene move and respond.

Posted Date: 3/9/2013 2:46:39 AM | Location : United States

Related Discussions:- Develop a visual design in java, Assignment Help, Ask Question on Develop a visual design in java, Get Answer, Expert's Help, Develop a visual design in java Discussions

Write discussion on Develop a visual design in java
Your posts are moderated
Related Questions
Develop a Computer program and application. Project Description: I want a project done. It is a computer desktop application program. It is not very hard. If you need the det

Component classes generally move the task of generating output to the renderer. All JSF components follow it. Render kit is a set of related renderers. javax.faces.render.RenderKit

A simple Desktop Software Project Description: We want a tool that could convert Flash Games into HTML5 Files. These are not tedious games, very simple game. I have attached

In this project you need to write a program called ""to implement Elliptic Curve encryption/decryption. Specifically, your program will read parameters, plaintext and ciph

Write a Java program to find the sum of 1+3+5+…. , for 10 terms in the series.

Objective: create a simple object, put that object in a simple collection class, use that object and collection in a simple GUI application. Specification:  Consider a Librar

Converting Strings to Numeric Primitive Data Types To convert a string which is containing digits to a primitive data type, wrapper classes can help. parseXxx method can be u

Java Program to Scrape, Data Mine Project Description: I need to data scrape/ mine data from a website and do some data processing. Skills required: Java, Data Mining,

Project Description: Two co-founders are in search of a developer to join us to launch a tech startup. We have experience at fortune 500 companies, elite consulting firms, etc.,

Collaboration diagrams are also communication diagrams. Collaboration diagrams give the same message as the sequence diagrams. But the collaboration diagrams depend on the object f