manveerxyz / WordGuessServer

A word guessing game server made using netcat and sockets in C. The game maintains a new connection queue and can handle multiple users playing at once.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordGuessServer

A word guessing game server made using netcat and sockets in C. The game maintains a new connection queue and can handle multiple users playing at once. Client connects and disconnects are handled smoothly, and all memory leaks were expelled using Valgrind.

How to Play

Instructions on how to play the game on your local computer.

Set-up server

Clone repository and cd into the repository folder. Run this to create the server:

./wordsrv dictionary.txt

Connect from client

Open a new terminal window and enter:

nc -c localhost 59185

The game should be running now. Open up multiple terminal windows to simulate multiple clients.

About

A word guessing game server made using netcat and sockets in C. The game maintains a new connection queue and can handle multiple users playing at once.


Languages

Language:C 99.3%Language:Makefile 0.7%