A Pac-Man clone using Weaver Engine, play this game at: https://thiagoharry.github.com/pacman
-
ARROW KEYS: Control pacman and the cursor at title screen
-
ENTER: Select option in the title screen.
This is a game inspired by classical Pac-Man written in C using the Weaver Game Engine. The game can be compiled in a Linux environment with a C compiler and GNU Make.
First install the dependencies. In Ubuntu, Linux Mint and related distros, the following command should work:
sudo apt-get install build-essential libx11-dev mesa-common-dev libxrandr-dev libglew-dev libopenal1 libopenal-dev vim-common libpng16-dev libmpg123-dev
In other distros, research how to install the equivalent packages.
Check file conf/conf.h
and change the line which starts with
#define W_TARGET
to:
#define W_TARGET W_ELF
Then run the command make
and make install
as root. And finally you can run the game with
pacman
at the command line.
First install the dependencies. In Ubuntu, Linux Mint and related distros, the following command should work:
sudo apt-get install emscripten vim-common
But you must ensure that Emscripten is in version 1.34.0 or greater. Otherwise, uninstall it and install from another source. In other distros, research how to install the equivalent packages.
Check file conf/conf.h
and change the line which starts with
#define W_TARGET
to:
#define W_TARGET W_WEB
Then run the command make
. It should produce a directory called
docs
where you can open the file index.html
in a web browser to play
the game.