Question
basic requirements offered to complete the task

Hello,

Please check attache: problem.png

We have a game colled BattleShips.... one user hide only one ship on board 10x10 = 100 field and second user have X shots to find where user one hide ship and we want to give them 50% equal chance to win or lose... and we want to ask you how many shots(how many field he can check) we need to set up for user to 50% chance to win or lose. User have 4 size ships option and we want to calculate how much maximum shots can take one user to find where another user hide ship:

a) 1 field ship on board 10x10 = 50 shots yes? it will be 50% chance... 100 field and 50 shots
b) 2 field ship on board 10x10 = How many?
c) 3 field ship on board 10x10 = How many?
d) 4 field ship on board 10x10 = How many?

The most important thing is also calculate how much maximum shot can take user to avoid sytuation when he can shot field in smart way to be 100% sure that he win every game... For example with 4 field ship you can shot to all field in column 4 and 8 and all field shot to verse D and G and you are 100% sure that you will hit the 4 field ship... We need to avoid that kind situation in all a), b), c) and d) option.



Pick one ship and drag him on board 1 23 4 5 6 78 910 reward 0,223 x2 0,223 x2 reward 0,223 reward 0,223 Ready ?
0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
basic requirements offered to complete the task Hello, Please check attache: problem.png We have a game...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • basic requirements offered to complete the task Hello, Please check attache: problem.png We have a game...

    basic requirements offered to complete the task Hello, Please check attache: problem.png We have a game colled BattleShips.... one user hide only one ship on board 10x10 = 100 field and second user have X shots to find where user one hide ship and we want to give them 50% equal chance to win or lose... and we want to ask you how many shots(how many field he can check) we need to set up for user to 50% chance...

  • We are going to play a game of chance. We will roll a die (half of...

    We are going to play a game of chance. We will roll a die (half of a pair of dice) and if it comes up with one or two spots showing, you win and I will pay you $1.50. If it comes up with three, four, five, or six spots showing, you lose and you will pay me $1.20. So, the probability that you will win is 1/3 and the probability you will lose is 2/3. Your financial benefit will...

  • Lab #6 Number Guessing Game – Loops and Nested Loops Requirements: Design, develop, test, and submit a program for a Number Guessing game. The program will select a random number between 0 and 100, al...

    Lab #6 Number Guessing Game – Loops and Nested Loops Requirements: Design, develop, test, and submit a program for a Number Guessing game. The program will select a random number between 0 and 100, allow the user to try up to 10 times to guess the number, and tell the user if each guess is too high, too low, or correct. The actual game portion must be a function...you can use more than one function in your program. The amount...

  • Assignment - Battleship In 1967, Hasbro toys introduced a childrens game named “Battleship”. In the next...

    Assignment - Battleship In 1967, Hasbro toys introduced a childrens game named “Battleship”. In the next two assignments you will be creating a one-player version of the game. The game is extremely simple. Each player arranges a fleet of ships in a grid. The grid is hidden from the opponent. Here is an ASCII representation of a 10x10 grid. The ‘X’s represent ships, the ‘~’s represent empty water. There are three ships in the picture: A vertical ship with a...

  • For your Project, you will develop a simple battleship game. Battleship is a guessing game for...

    For your Project, you will develop a simple battleship game. Battleship is a guessing game for two players. It is played on four grids. Two grids (one for each player) are used to mark each players' fleets of ships (including battleships). The locations of the fleet (these first two grids) are concealed from the other player so that they do not know the locations of the opponent’s ships. Players alternate turns by ‘firing torpedoes’ at the other player's ships. The...

  • For this assignment, your job is to create a simple game called Opoly. The objectives of...

    For this assignment, your job is to create a simple game called Opoly. The objectives of this assignment are to: Break down a problem into smaller, easier problems. Write Java methods that call upon other methods to accomplish tasks. Use a seed value to generate random a sequence of random numbers. Learn the coding practice of writing methods that perform a specific task. Opoly works this way: The board is a circular track of variable length (the user determines the...

  • Please help as it is very important task for me please write in Python code and...

    Please help as it is very important task for me please write in Python code and divide this into function and write comments for it 1. Ask the player’s name and welcome them to the game using their name. 2. Ask the player what is par for this game (number between 3-5 inclusive) 3. Ask the player what the distance to the hole for this game is (whole number between 195 and 250 inclusive) 4. Show the game menu: (I)nstructions...

  • Game of Craps C++ #include <iostream> using namespace std; void roll (int *); // using pointer...

    Game of Craps C++ #include <iostream> using namespace std; void roll (int *); // using pointer to catch the random variable value of two dicerolls at one time . //these global variable with static variable win use to operate the working of code . //static win, account because two times input given by user to add the diceroll with win number and //account (means balance of user) . static int account = 100; static int win = 0; int bet...

  • This is the code we have to edit, i know how to do everything except finding...

    This is the code we have to edit, i know how to do everything except finding if the x and y are in the space, please explain to me when you do the code. We are using addshape() api and more. public class Skeleton { public static void main(String[] args) { //================================ //== Setting up game window ====== SpaceGame myGame; //declaring the object form the class Scanner scan = new Scanner(System.in); System.out.println("What is the window name? "); //window title text...

  • Please write a Python program to check a tic-tac-toe game and show its winning result in...

    Please write a Python program to check a tic-tac-toe game and show its winning result in detail. This is an application program of a 3-dimensional list or array. Your complete test run output must look as follows. This test really checks to make sure your program is performing perfectly to check every possible winning situation for X and O. GAME 0 is as follows: OOO OOO OOO O won by row 1 O won by row 2 O won by...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT