CVZ: Cube vs Zombies is an interactive shooting game built from scratch using C and the SDL2 library. Test your skills with a working menu system, a full-fledged health system, shooting with ammo count, random loot drops, a variety of enemies, and an area unlock system. Dive into this action-packed survival challenge! I built this as a Major Project in my introduction to computer-science course (ICS-1010) in IIT Jodhpur.
- You must have a gcc/mingw installed on your system.
- You must have SDL2 library installed and linked properly. GET SDL2: https://wiki.libsdl.org/SDL2/Installation
- Clone this repo on your system.
If you're facing linker issues , include sdl- mixer,ttf and image libraries within the game folder with the main.c file
- Game starts by giving player 100 ammo and 0 points initially.
- There are 3 types of enemies : white(skeleton), purple(witch),red(boss)-> their stats and points vary from lowest to highest.
- you'll get random treasure drops , Press 'F' to claim: It might give you some damage , health , ammo or points.
- If you're in any room , and you need a breathing space and want to escape the enemies you can escape the room by unlocking the new one -> go at centre of any side of the screen and Press 'G' a 1000 points will be deducted from you and you'll be in another room.
- This game is an infinite shooter , so it goes on till you survive.