Simulate a good old game of rock paper and scissors

Assignment Help JAVA Programming
Reference no: EM131272204

You are to complete the code found in Player.java. Once completed you can then simulate a good old game of Rock, Paper, Scissors. To play you need to compile Player.java, InputMaker.java, and RockPaperScissorsTest.java. Then you will run InputMaker. It will ask you for the desired number of matches. Then you can run RockPaperScissorsTest. It will ask you for the number of matches. Enter the same number that you provided to InputMaker. If all is well with your code you should see the results. InputMaker creates two txt files using Math.random. When you run the game these two files are used as input for your Player objects. So I am testing your understanding of file IO and objects at the same time. You are to provide me with only Player.java and keep it named Player.java!!!!!!!!!!!

When you submit I want you to type the results into the submission text box!!!!!! You may work with up to two other individuals. You may not help any other individuals or groups. You may not mix and match groups. You are on the honor system and you will only be cheating yourself if you breach the limitations I provided. Please have only one person in the group submit and add the other member's names in the submission text. I provided a pre-compiled version of Player.class. You can use this to get an idea of how the game should operate.

Reference no: EM131272204

Explain why the given class hierarchy is not reasonable

Explain why the following class hierarchy is not reasonable. Given all the problems identified in problems 1 through 4, explain in detail why the following code works, ie, co

What is the benefit of using layout managers

What is the benefit of using layout managers? When a mouse event is generated how is the location of the click point determined? What layout manager should you use so that eve

Graphical application for computing statistics

Write a graphical application for computing statistics of a data set. Supply a text field and button for adding floating-point values, and display the current minimum, maxim

A remote web-based file storage application

Develop a web-based application. The server-side part of the application must be developed using Java Servlets (possibly including JSP). The development of the client (bro

Create a java application named distancecalculator

Create a Java application named DistanceCalculator.java to solve the following problem. An application is needed to allow a user to enter two cities and display the distances

Create a new class called dwelling

1 Create a new class called Dwelling that includes the functionality below 2.    The new class has the attributes of: category - dwelling's category (i.e.:"House", "Condo", "A

Create a class that inherits from your pizzaorder class

Create a class that inherits from your PizzaOrder class called SeatedPizzaOrder. SeatedPizzaOrder has the three data values that any PizzaOrder has (size, toppings, and pric

Create a bar chart that illustrates sales.

Hal's Used Cars has four salespeople named Pam, Leo, Kim, and Bob. Accept values for the number of cars sold by each salesperson in a month, and create a bar chart that illust

Reviews

Write a Review

 
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd