Skip to content

A multi-player battleship game made using sockets in python

Notifications You must be signed in to change notification settings

harshsodi/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ba-Ba Battleship

An implementation of the classic arcade Battleship game on a multi-client supporting server platform.
Here sockets are used as a medium of communication.
The architecture is based on message-passing paradigm.


Tech-details

The application is made totally using python.
For GUI part, we've used PyQt


Gameplay

Step 1 :

Run the client and enter your name to connect to the game.

Step 2 :

Arrange your ships using mouse clicks. Right click will change the orientation of your ship (horizontal / vertical) When you have arranged all your ships, wait for the opponent to do the same

Step 3 :

The battle will begin as soon as both players have arranged their ships. Each player attacks chance by chance.
Player will see the attacked ship blocks of opponent in red The first player to hit all the ship blocks wins

About

A multi-player battleship game made using sockets in python

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages