/Typeracer-CSF303-MiniProject

Computer networks project

Primary LanguageCGNU General Public License v2.0GPL-2.0

Typeracer-CSF303-MiniProject

This project was created by a group of 4 Students- Bhuvnesh Jain, Shubham Nagaria, Harshid Wasekar and Junaidul Islam Bhat as a part of "Computer Networks" Mini Project.

Course Number : CS F303
Instructor : Dr.Rahul Banerjee

All files on this repository are for educational purpose with no intentions of promoting unfair means in any evaluative component.

Typeracer

Typeracer is 6-level multiplayer networking game, TypeRacer. The game has a common whiteboard for all the users and leaderboard for displaying the game-screen and the scores. The game is able to concurrently handle all the requests for its users and update the scores (based on number of characters typed in the current game) accordingly. The levels of the game are defined in terms of the dictionary being chosen for the playing the game. 6 different types of dictionaries, English, French, Programming etc. are provided with the game. The dictionaries were taken from the following link.

Dependencies

  1. The code is compatiable with GCC version 6.0 onwards.
  2. Make sure that you have installed "pthreads" and "curses" library.
  3. The code will only run on Linux and Mac machines. Windows support for the game is not available.

How to build

Before building, please make sure that you have installed "pthreads" and "curses" library. Open your terminal and type the following command
make all

How to run

Once the above command completes sucessfully, the required *.o files will get created.

Then type the following command in your terminal :

./typeracer

You can then simply follow theinstructions written in the menu and proceed with the game.

The screenshots of the game are available in the "Screenshots" folder.