-
To install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;
-
To install sdl image
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;
-
To install sdl mixer
sudo apt install libmikmod-dev libfishsound1-dev libsmpeg-dev liboggz2-dev libflac-dev libfluidsynth-dev libsdl2-mixer-dev libsdl2-mixer-2.0-0 -y;
Note: Oneliner to do the above install
sudo apt update && bash <(wget -qO - https://boredbored.net/sdl2-install)
Note: Our operating system is Linux 64-bit (Distribution- Ubuntu 20.04)
- Clone this repository using
git clone https://github.com/guptaaniket261/COP290Assignment2.git
or download as Zip and extract. - Change the current directry to move into this folder in the terminal.
- Make sure you have installed SDL using the above instructions, you must be using a Linux OS.
- Run the
make
command. This should produce a binary executable name "game" in the same directory. - Now run the
./game
command. - For further instructions on how to play the game, etc refer to Presentation.
- For studying SDL and it's functionalities we have reffered to Lazyfoo website.
We have also reffered to the official documentation of SDL - We have taken the idea of algorithm of Bot zombie movement from this video.
- For taking basic idea of Maze formation we have reffered wikipedia.
Further making a maze with no dead ends was done by us. - For installing SDL we reffered this page.