Skip to content

harryalloyd/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here is the first screen you will be brought to, the game cannot be played unless another player connects.

Screenshot 2025-01-15 at 10 18 09 PM

After a player has joined, you will be prompted to enter your username.

Screenshot 2025-01-15 at 10 20 04 PM

From here each player must ready up, after you're ready you may not undo this action. The game will not move forward until each player has readied up.

Screenshot 2025-01-15 at 10 21 07 PM

Afterwards, each player has their own ships that they can drag and place whereever they'd like on their side of the board.

Screenshot 2025-01-15 at 10 22 58 PM Screenshot 2025-01-15 at 10 25 23 PM

From here each player must select 'done' after placing their ships to continue

Screenshot 2025-01-15 at 10 25 59 PM

In this instance, I'm player John and so I shoot/attack Harry's side of the board. Each player alternates their shots so you cannot fire multiple times per turn. The white squares indicate shots that missed and red squares indicate shots that successfully hit.

Screenshot 2025-01-15 at 10 29 23 PM

After one player has managed to hit all of their opponent's squares that represent a ship, they have won and are prompted with an option to rematch. If both players decide to rematch, the game restarts from the beginning.

Screenshot 2025-01-15 at 10 31 48 PM

On the lefthand side of the screen there is a chat bar where both players can talk to one another. Be kind.

Screenshot 2025-01-15 at 10 39 00 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published