Processing – High Card Assignment – Post 1

For this assignment we have been asked to create a program that randomly select 2 of the 13 images and drawing them to screen. It should then write code that assesses whether the second card drawn is higher, lower or the same as the first. Based on the result, beneath the two images, using a font, you should write either:

• The second card is higher
• The second card is lower
• The second card is the same

So far I have written code that places the images and text on screen. This is in preparation for learning the code needed to create a random generator.

I have also annotated the code since.
High Card - Start