Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C#: Implement a multiplayer Battleship game with another player: The rules are the same as before. The game is played on an NxN grid. Each

C#:

Implement a multiplayer Battleship game with another player:

The rules are the same as before.

The game is played on an NxN grid.

Each player will place a specified collection of ships:

The ships will vary in length (size) from 2 to 5.

There can be any number or any size ship. There may be no ships of a particular size.

EXCEPT the battleship which there will always be 1 and only 1.

Player order will be random but fixed at the start of the game.

Each round consists of each player making a grid selection in turn.

Each grid selection will be played into all players grids including the current players grid.

Each player will respond with HIT, MISS, or SANK {ship name}.

If a players battleship is sunk that player is removed from the game.

Repeat from #4 until only 1 player remains.

That player is the winner.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions