Skip to content

wwalterr/pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman

Control your pac-man against ghosts.

About

The action pac-man maze game with a new map.

Executables

Press the letter o to mute the song

Linux

Built with

Installation

Use the APT package manager to install general dependencies.

sudo apt install -y build-essential cmake xorg-dev libgl1-mesa-dev libglu-dev libpng-dev libz-dev libcurl4-gnutls-dev libfreetype6-dev libjpeg-dev libvorbis-dev libopenal-dev libphysfs-dev libgtk2.0-dev libasound-dev libflac-dev libdumb1-dev exuberant-ctags pngcrush

Use the APT package manager to add the Allegro 5 PPA and install it.

sudo add-apt-repository ppa:allegro/5.2
sudo apt install liballegro5-dev liballegro-acodec5-dev liballegro-audio5-dev liballegro-dialog5-dev liballegro-image5-dev liballegro-physfs5-dev liballegro-ttf5-dev liballegro-video5-dev

Usage

Create a build.

make

Execute the build.

make run

Debug

Use the GDB debugger to debug the build.

gdb pacman  # Load executable
(gdb) run  # Execute the executable
(gdb) backtrace  # Summary how the execution
(gdb) kill  # Stop the executable

Contributing

Pull requests are welcome. Please, consider the following.

  1. Make sure you code have quality, a.k.a standards
  2. Make sure your code is secure
  3. Make sure your code has no performance issues
  4. Make sure your code is documented, if necessary
  5. Describe the changes that were done

No issue or PR template required, but be informative

License

MIT