Skip to content

rghose/slickers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Slickers
---------
(C) Rahul Ghose
License: GPL 3.0

A multiplayer treasure hunt game where multiple users can connect and play a game of treasure hunt.

Points are awarded for each player.

The software consists of a server and a client. The server sets the game parameters, i.e., the grid size and number of randomly placed treasure spots.

The server then waits for players to connect within a specified amount of time after which the game starts.

The game is over after all the treasure spots in the grid are grabbed by the players. A treasure is grabbed by an user who moves into that spot in the grid. Movement is via arrow keys. Each individual player is assigned a player number which is shown on the grid when the game is being played.

An idle player would be booted (or removed) from the game.

The server restarts with the same parameters after a game is finished.

Build steps:
--------------

For Ubuntu:
# sudo apt-get install libncurses-dev
# make

How to run:
------------

Start server with:

../bin/server_main -N 20 -M 10 -P 1025

-N : The grid size in this case will be 20x20
-M : The number of randomly placed gems
-P : Port on which to listen


Start the client with:

../bin/client -P 1024

About

Multiplayer sample game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published