The aim of the project is to build a maze game based over the IIT-Delhi Campus which gives a compelling experience to the user.
- This program requires the SDL2 library, along with SDL2_image, SDL2_mixer, SDL2_ttf.
- Instructions to download required libraries are explained in detail in this link.
- Make command in the terminal.
To play the game, follow the following instructions.
- Clone the repo in your system.
- Type
$ make
in the project directory in the terimanl to compile main.cpp. - If you are a server use the command
$ ./game s
to host the server for client. - If you are a client then use the command
$ ./game c <ip_addr>
after the server has hosted the network, where <ip_addr> is the ip address of the client. - Further details of gameplay can be found in
.iiinception/gameplay.pdf
.
The objective of the game is to make our campus a clean place by taking part in the NSS Cleanliness Drive. You have to collect the garbage at mentioned locations and throw them in the dustbin. It brings about happiness and health. Along with this you can also collect gift boxes and coins to help you get a better score. The person with more score wins the game! Make sure to avoid angry professors as they make you sad and lower your score.
Pick coins to earn money and be more productive, and eat better!
Pick giftbox to earn random but low points!
Pick garbage and throw in trashcans to earn points for cleaning the campus!
Pick garbage and throw in trashcans to earn points for cleaning the campus!
Make sure to avoid angry professors otherwise they will lower your (mental) health!
- To get the complete details of the project see Task2 - SubTask1
- For SDL tutorials we used Lazy Foo Tutorials and the Youtube Playlist
- For socket programming we referred the article.
- In resources we used the following links for icons, font, sounds, tilesets, image editing.