- Engineering
- Computer Science
- basic requirements offered to complete the task hello please check...
Question: basic requirements offered to complete the task hello please check...
Question details
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.

Solution by an expert tutor
