PAC-WARS is a combination of two classic games- PACMAN and STAR-WARS. It is an online (can be played on the same network) multiplayer game (supports upto 10 players). It crosses the eating each other functionality of pacman with the shooting each other functionality of star-wars.
-
SDL2
usesudo apt install libsdl2-dev libsdl2-2.0-0 -y
-
SDL mixer (For audio) (Not included in SDL2)
usesudo apt install libsdl2-mixer-2.0-0
-
SDL image (For displaying images) (Not included in SDL2)
usesudo apt install libsdl2-image-dev
(* one might have to install SDL_ttf separately too.)
Why are you still using it?
Kindly google install sdl [OS]
and install sdl [image/mixer/ttf] [OS]
-
Compile
usemake
-
Run
use./game [player_name]
player_name is an optional argument. Game window is named using it.
-
For almost all doubts:
https://lazyfoo.net/tutorials/SDL/index.php -
For networking:
-
For maze creation:
- https://en.wikipedia.org/wiki/User:Dllu/Maze
- Introduction to Algorithms, CLRS
Course Project | Design Practices | Prof. Rijurekha Sen