Question: Please help with Java Programming project! Project outcomes: Develop a Java program that: .reads input from the keyboard using a Scanner object and its methods

Please help with Java Programming project!  Please help with Java Programming project! Project outcomes: Develop a Java
program that: .reads input from the keyboard using a Scanner object and
its methods uses iteration (while, do while, or for statements uses String

Project outcomes: Develop a Java program that: .reads input from the keyboard using a Scanner object and its methods uses iteration (while, do while, or for statements uses String comparison methods. follows standard acceptable programming practices. .handles integer overflow errors Prep Readings: Absolute Java Chapter 1 3 and Security Injection Labs (Integer Error) Project Requirements: Write a Java program that plays a mathematical game called "Taking Stones" which is based on the Chinese game of Tsyan-shiz. In this game, the person who runs your program will be the human player and your program will be a simple Artificial Intelligence (Al that will serve as the other player, as well as provide the narrative for the game and keep score. Your program must keep score impartially while participating in the game, but this is not a difficult task for the computer. 2. The rules of the game are: a The human player and the computer will role a (virtual) pair of dice at the beginning of each game to see who goes first. b. The player who goes first provides the number of stones that will be in the pile. The number must be between 10 and 50 Each player then removes some number (between 1 and 3) of stones from the pile until one player removes the final stone. The player who goes first

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!