LosKeeper / PacManCpp

Pac Man in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icon PacMan Cpp

version compiler license author author

PacMan game in C++ with SDL

Table of Contents

  1. Table of Contents
  2. Installation
    1. Linux
  3. Usage
    1. Controls

Installation

This project requires SDL2 to be installed on your system.

Linux

To run the game, simply run the following command in the root directory of the project:

make run

This will compile the project and run the executable. Otherwise, you can run the following commands:

make
./bin/pacman

You can also see documentation for the project by running:

make doc

This will generate documentation in the html directory and open it in your default browser.

Usage

This is a simple PacMan game written in C++ using SDL. The game is played by moving PacMan around the map and eating all the dots. The game ends when all the dots are eaten or PacMan is caught by a ghost.

Controls

Key Action
UpArrow Move up
DownArrow Move down
LeftArrow Move left
RightArrow Move right
Escape Quit

About

Pac Man in C++

License:GNU General Public License v3.0


Languages

Language:C++ 86.3%Language:CSS 11.3%Language:Makefile 2.0%Language:C 0.3%