Homework 15

Send your homework as a single ZIP archive with your files, or send a link to your GitHub repo. Try to keep line lengths below 80 characters.

EXERCISE 15.1

Create a GUI program that simulates rolling a six-sided die. The program will have a button for rolling a die and a label for the result (a number from 1 to 6 or an icon).

EXERCISE 15.2

https://en.wikipedia.org/wiki/Slot_machine

Create a GUI program that simulates a slot machine. The program will have three labels with changing symbols (numbers from 1 to 5 or five icons), a button for starting the game and a label for the result. The user wins if all three labels are the same.