Feature
|
Actual mark
|
Max
|
|
Displays introduction |
|
1 |
|
Displays conclusion |
|
1 |
|
If starting positions
are different from the ones specified in the starting file -2 marks |
|
|
|
Displays world
annotated with column and row numbering |
|
1 |
|
Runs
simulation for a fixed number of turns |
|
2 |
|
|
Simulation runs for 20
turns (1 mark) |
|
|
|
|
Simulation runs for a
user specified number of turns (2 marks) |
|
|
|
Cars can
move from the west to the east |
|
6 |
|
|
Cars move forward one
square (2 marks) |
|
|
|
|
Cars can only move
onto empty squares (2 marks) |
|
|
|
|
Cars move diagonally
if the square in front is blocked (2 marks) |
|
|
|
Cars on
the eastern most side are removed from the simulation |
|
2 |
|
Cars can
enter the simulation |
|
8 |
|
|
Cars appear in the 3
west most squares (1 mark) |
|
|
|
|
Cars only appear in
empty squares (2 marks) |
|
|
|
|
Cars appear based on a
fixed probability (3 marks) |
|
|
|
|
OR |
|
|
|
|
Cars appear based on a
user specified probability (5 marks: 1 for handling probabilities beyond the
valid ranges, 4 getting and using the value from the user) |
|
|
|
Cars can
accelerate or stop |
|
6 |
|
|
Cars move 0 - 3
squares forward, instead of just one square (2 marks) |
|
|
|
|
Cars only move
multiple squares if the path from the destination to the source is clear (4
marks) |
|
|
|
Debug mode
implemented |
|
3 |
|
Potholes
random appear |
|
2 |
|
Tracks and displays
the three statistics (1 for each) |
|
3 |
|
TOTAL
|
|
35
|
|
Alternate feature: program displays
output graphically via QuickDraw rather than using text (input can still
come from the console).
|
|
2
|