There are three parts to this coursework.
Parts one and two must be completed by all students.
Part three must be attempted by all MSc students.
The choice of implementation language is up to you.
You should submit a report in the format specified below for each stage.
This part is a gentle reminder of how to program a conventional PC. It is due to be completed by the end of week 4.
The application you are to program is a simple game. It is based on a higher/lower outcome at each step.
There is a path with four steps. When the game starts the player is presented with a randomly chosen number in the range 1-10. The player then moves to the first step and a random number is chosen by the application, in the range 1-10. The player is asked to guess whether the number they have been given is higher or lower than the number allocated to the step.
If they guess correctly, they move to the next step and the behaviour repeats. If they are wrong, they go back one step (to the beginning if this is the first step). The object is to cross the path to the point beyond the final step.
New numbers are generated each time.
Write a program in either C or Java which implements this game for a PC.
Now port the application to a handheld device. This is due in by the end of week 8.
Now implement the game as a race between two or more players, each running on a separate PDA.
I will expect a paper hand-in to be submitted through the student office, with a proper frontsheet.
You should include:
If you are very pleased with your program, you may wish to e-mail it to me so that I can share in your pleasure.