资 源 简 介
Assignment Two Tasks
Literacy and Numeracy
Generate javadoc webpages from your code. All public methods and
constants must be documented. [-1] per omission.
... / 5
Critical Thinking and Problem Solving
Using GUI: Display available commands.
1. Set Number of horizontal lanes (H-street) [min 1,
default=2, max 3]
2. Set Number of vertical lanes (V-street) [min 1, default=2,
max 4]
3. Set Probability of a car entering H-street [min 0,
default=0.5, max 1]
4. Set Probability of a car entering V-street [min 0,
default=0.5, max 1]
5. Run/Stop simulation.
... / 5
3.1-3.4 Using GUI: Display an intersection as per input from the menu. Minimum of
10 car lengths on all sides of the intersection. Use an image for a car. Draw
the street boundaries. Display the direction of the traffic and the current state
of the traffic lights.
... / 5
3.1-3.4 Using GUI: Implement menu options 1 and 2. ... / 5
3.1-3.4 Using GUI: Implement menu options 3 and 4. ... / 5