Skip to content

A full Battleship game that can be played by two players at a time using a server which manages client states using sockets.

Notifications You must be signed in to change notification settings

ver1log/Multiplayer-Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship

This is a multiplayer Battleship game where game information is managed by the server and sent via sockets. First one to 15 hits wins!

thumbnail

Build Instructions

Prerequisites

  • g++ complier
  • Linux system or macOS with the correct apis

Activate virtual environment linux
To BUILD on linux you must have the build-essential package installed for the networking libraries

apt install build-essential

Run make to generate binaries we will use to run the program

mkdir bin
make

Start the server, it will listen for incoming client ports

bin/server IP PORT

Make a client(the server's port and IP that it connects to is inside Client.h)

bin/client 

About

A full Battleship game that can be played by two players at a time using a server which manages client states using sockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published