Skip to content

Course Project for COP290 Design Practices, IIT Delhi 2022

Notifications You must be signed in to change notification settings

ChinmayMittal/Maze-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b388605 · Apr 18, 2022
Apr 18, 2022
Apr 17, 2022
Apr 15, 2022
Apr 15, 2022
Apr 15, 2022
Apr 17, 2022
Apr 17, 2022
Apr 14, 2022
Apr 14, 2022
Apr 19, 2022
Apr 18, 2022
Apr 18, 2022
Apr 18, 2022
Apr 18, 2022
Apr 16, 2022
Apr 16, 2022
Apr 10, 2022
Apr 10, 2022
Apr 17, 2022
Apr 16, 2022
Apr 19, 2022
Apr 17, 2022
Apr 18, 2022
Apr 18, 2022
Apr 18, 2022
Apr 7, 2022
Apr 18, 2022
Apr 7, 2022
Apr 7, 2022
Apr 17, 2022
Apr 12, 2022
Apr 14, 2022
Apr 14, 2022
Apr 17, 2022
Apr 17, 2022
Apr 12, 2022
Apr 12, 2022
Apr 7, 2022
Apr 7, 2022
Apr 7, 2022
Apr 7, 2022
Apr 7, 2022
Apr 7, 2022
Apr 18, 2022
Apr 18, 2022
Apr 5, 2022
Apr 5, 2022
Apr 18, 2022
Apr 5, 2022
Apr 5, 2022
Apr 5, 2022
Apr 16, 2022

Repository files navigation

Maze-Game

Course Project for COP290 Design Practices, IIT Delhi 2022

Group Members

  1. Tanish Tuteja (2020CS10398)
  2. Chinmay Mittal (2020CS10336)

Installation Instructions

We have tested the game on Ubuntu (20.04.4 LTS)

Ensure that g++ is installed on your system

On Linux, install the following libraries with the appropriate commands

  1. SDL
 sudo apt-get install libsdl2-dev
  1. SDL_image
sudo apt-get install libsdl2-image-dev
  1. SDL_ttf
sudo apt-get intstall libsdl2-ttf-dev
  1. SDL_mixer
sudo apt-get intstall libsdl2-mixer-dev

Clone our repository on your system using the following command

git clone https://github.com/ChinmayMittal/Maze-Game.git

Compile the code using the following command

make

To setup the server for the game we need the IP address of the host. To get the IP address, use the following command

hostname -I

On one terminal, run the server using the following command

./server/server.out

Then run the game on two different PCs connected to the same network as the server, by executing the following command

./game.out 10.184.24.96

here 10.184.24.96 is the IP address of the server found using hostname -I


Resources Used

  1. Lazy Foo Tutorials
  2. GeeksForGeeks Sockets & Networking
  3. SDL Documentation