CSC 170 Assignment 1 Due by class time Wed 24 September 2003 Write a java applet to implement the following program: The user is going to play the game of Rock, Scissors, Paper with the computer. The user selects one of three buttons labeled "Rock", Scissors" and "Paper". The program then randomly (using the built-in random number method) chooses one of the three. Rock beats scissors, paper beats rock, scissors beats paper. The program then decides who wins and outputs (using g.drawString) the winner. Your program will create the buttons. The button action will be processed in an actionPerformed method. That method will call repaint(). Your paint method will put the results on the applet window. Your source code plus a short written report (1 paragraph is fine), describing the Java commands you used, any problems you had and how you solved them, and what you like the best about your program should be emailed to your instructor by the due time and date. The two files can be attachments to the message or included in plain text in the message. The report should be written in plain ASCII text (utility editor) rather than using a Word Processing program. You should also do a simple UML diagram for this assignment - a pencil and paper endeavor. This can be turned in at class time.