Question: For this program, please use java (eclipse), thank you. CIS 1068 Assignment 4 A Game Due: Friday, February 14 45 points a game To pass

For this program, please use java (eclipse), thank you. For this program, please use java (eclipse), thank you. CIS 1068 Assignment

CIS 1068 Assignment 4 A Game Due: Friday, February 14 45 points a game To pass the time during long winters, the ancient Nordic people would play the two-player game of Bjrksns. In this assignment, you'll implement the game, but play will be against the computer. During each round, players choose a move, which may be either Godishus, Derflrg, Kullen, Koppang, or Songesand. The rules are: Songesand beats Kullen, Godishus Kullen beats Derflurg Koppang Derflrg beats Songesand, Gdishus Gdishus beats Koppang, Kullen Koppang beats Songesand, Derflrg Your program should behave as follows: The rules should be printed to the screen The user is asked if they'd like to play a round if they choose 'y', a round is played if they choose 'n', the program ends . Until the user has chosen to quit, another round is played. In a round of play: . The user is asked to enter a move, which may be either Godishus, Derflrg, Kullen, Koppang, or Songesand. The program should continue to prompt the user until a valid move is entered The computer makes a move at random. (Hint: remember how we generated random numbers in class.) The program prints the computer's move, the user's move, and who is the winner of this round. The user is asked if they'd like to continue. . When the user has decided to quit the game, the program prints the number of: o rounds played o times the user won times the computer won suggestions An important skill in programming is learning how to break up a big job into smaller tasks. Make an outline. Make sure that your outline makes sense. Test it out with real input using pencil and paper. Do this before you start writing code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!