This Java program was created using Sun Java JDK 1.5.0 _Version 2 for a "Village Fun Day".
Six teams start from different designated start points on a field and follow simple directional instructions to navigate from point to point round the field, relative to their respective start points. Each point corresponds to the location of a post-war Olympic Games. The 1st point is London (1948), the 2nd point is Helsinki (1952), the 3rd point is Melbourne (1956), etc. The 15th point is Athens (2004), and the 16th point is “xxxxx” - where the blue lines converge, the site of the “ 2005 Fun Day” Olympics. The position of each location will be different for each team, although teams will cover the same distance.
On arrival at “xxxxx”, each team will plant a flag at the point at which they think “xxxxx” is located, leave one person to safeguard it and all the others to exit to the pavilion area.
There will be a time limit of 15 minutes. Teams use of a magnetic compass. A metre measure will be available at the start, so that individuals can calibrate their paces (e.g. 1 – 2 paces per metre). However, tape measures are not to be used during the game.
Scoring: The team result is determined by how close teams are to the exact pre-calculated location of “xxxxx”.
The simple UML class diagram is shown below.
Implemented by
John R. Oliver
|
|