Skip to content

ylhan/Mancala-Sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Mancala Sockets

Multiplayer version of one of the oldest board games in the world!

Instructions are simple and will be sent when the game starts or see the instructions here

Features

  • Play from right inside the shell
  • Unlimited players
  • Protection from player disconnects
  • Server has simple admin commands (kick, ban, broadcast, etc)

Technologies Used

  • C (Socket Programming)
  • Bash (nc)

Deployment

Server

Unfortunately, this project is not cross platform so you will have to compile the server on your machine.

Clone the repository on to your local machine and compile mancsrv.c with gcc -WALL std=c99 -g -o mancsrv.o mancsrv.c. After, simply run with ./mancsrv.o -p <PORT> (<PORT> being the port you desire (defaults to 3000)), and you're done. You will be prompted if players join.

Client

Use nc <SERVER-IP> <PORT> (<SERVER-IP> being your server IP or localhost if on the same machine and <PORT> being the port you specified eariler) to connect, then simply follow the instruction prompts!

Have fun!

About

Multiplayer Version of one of the Oldest Board Games in the World

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages