A 2-player maze game designed for COP290
Be the first to overflow your progress bar, strategising your gameplay with yulu-rides, pit-stops, recovery sessions and a lot of fun!
With a ticking clock, a strong opponent, vicious dogs, angry bees and energy drain with movement battle it out to emerge victorious
- You lose the game if your energy reduces to zero
- Money replenishes with time, use it at food joints for energy , or on a yulu for extra speed
- Food at Hostel canteen costs lesser than the commercial joint :) Remember, though, only the night messes operate at night!
- Dog bites are painful! A major hit on the energy, and a respawn after a 5 second recovery from the hospital.
- Bee stings hurt less, a 5 second recovery period and a minor hit on the energy bar.
- Yulu gets you fast, but drains wealth.
- Use the Zoom out command, for the bigger picture .
A - The Left Movement key
D - The Right Movement key
W- The Up Movement key
S - The Down Movement key
L - The Bigger picture command, displays the whole map
M - For the non-music enthusiasts
Space Bar in a Food joint zone - Energy replenishment, for the exchange of some money
Space Bar in a Yulu Zone - Hop on/off a Yulu, with a gradually emptying wallet
Both the teammates operated on an Ubuntu environment, via a Virtual Machine on an HP and a Mac device. Since a VM could not run the server files appropriately, we ended up having to borrow a dual booted laptop to run the server, and the client was running from any other device.
Installation of the SDL2 and its libraries was pretty simple on the Ubuntu systems, and the following commands were given on the terminal:-
1.SDL2 using sudo apt-get install libsdl2-dev
.
2.SDL_image using sudo apt-get install libsdl2-image-dev
for image rendering.
3.SDL_ttf using sudo apt-get install libsdl2-ttf-dev
for fonts rendering.
4.SDL_mixer using sudo apt-get install libsdl2-mixer-dev
for audio.
- Clone the repository.
- Connect both the devices to the same wifi (mobile hotspot).
- Run
export SRC_DIR=$(pwd)
after navigating to server folder on a device terminal, and then runmake
. - Navigate to the client folder on the other device.
- Locate "client.h", then in line 28 enter the IPv4 address of the server.
- Run
export SRC_DIR=$(pwd)
after navigating to the client folder on this device's terminal, then runmake
. - Run
./play.out
on both the devices. - Have fun!
- Lazy foo productions for the theoy.
- Tiled for making the map.
- Google maps for making IIT Delhi map.
- Let's make games and his tutorials.
Developers- Kartik Sharma, 2020CS10351 Gurarmaan S. Panjeta, 2020CS50426