Assignment 3

Designing Methods

Text as pdf

Assignment 3 notes

To generate random numbers,
  import java.util.Random;
then define field:
  Random RAND = new Random();
then define a method:
  // produce a random number in the range [0, 5)
  int randomNum(){
    return this.RAND.nextInt() % 5;
and use it when you need such number. Adjust this to fit your game design.

Due Date: Wednesday January 28th, 10:00 pm.