# Program 2 – Number Baseball Game with screenshot – Instant Delivery – Perfect Solution

Lab Price = \$12
Please feel free to send us your queries at:
Payment methods

Problem Statement

Game Description:
1. This game is a hidden number finding game called the Number Baseball Game.
2. At the beginning of the game, a computer chooses randomly three numbers among 1 to 9. But this numbers are not shown to a game player. The numbers cannot be duplicated.
Example) 913, 319, 457, 175…. 335 (incorrect), 340 (incorrect)
3. The computer accepts three numbers from the player and shows the result for the input. If a number in player’s input matches a number in computer’s number and is placed in the same order, it is considered 1 strike. If a number in player’s input matches a number in computer’s number but is not placed in the same order, it is considered 1 ball.
Example) a computer’s number: 913, a user’s input: 935 ==> 1 strike and 1 ball
a computer’s number: 913, a user’s input: 915 ==> 2 strikes
a computer’s number: 913, a user’s input: 395 ==> 2 balls
a computer’s number: 913, a user’s input: 865 ==> No strike and no ball.
4. Allow up to five times of trial for each game. If a player gets three strikes within five times, it is a win of the player. If a player doesn’t get three strikes within five times, it is a loss of the player. Show the message for win or loss.
5. After each game, show the total number of games played and wins and the win percentage of the user. After that, ask the player whether to continue. If the player wants to continue, start a new game. Otherwise, terminate the program.

Programming Requirements:
1. Write a Visual Studio 2012 C# Console App that plays the Number Baseball Game.
2. Use at least one static method (except Main method) and one instance method.
3. Include your class (es) in the namespace called “NumBaseBall.”
4. At the beginning of the game, show your name.
5. After creating computer’s number, show them for the grading, but consider them as hidden to the game player.

Relevant Material
Screenshots

Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = \$12
Please feel free to send us your queries at:

Payment methods