Under Unit 5/6 / 7

Introduction + Tasks:

Chris gave us this video and he told us to modify the code as we wish to improve it , and he helped us with some ideas for the beginning :

  • Your Task is to modify the game, so there are 16 images (4 x 4) rather than 9.
  • To put text on top of the rectangles – For example, the text could say “GONE” or “DEAD” etc. Or maybe use a red X-Factor style cross instead.
    To create a message at the end, saying who the survivor is.
  • Prevent the rectangles being re-drawn over the same place / location. Hint: You could use an Array List instead of an Array.
  • Make other changes, as you see fit.

Development :

I’ve created my own version of the processing random game on a 4×4 grid and I managed to add the minim library to play a sound when you press the mouse button.

Now I focused too much on the task to prevent the rectangle being re-drawn and I forgot to make some writing on top of the rectangles .

One thought on “Under Unit 5/6 / 7

Leave a comment