Skip to content

The classic Pac-Man game re-written in C++ using SFML graphics API. Customized enemy gameplay and added new arenas.

Notifications You must be signed in to change notification settings

agabhi017/Pac-Man

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pac-Man

A clone of the classic Pac-Man game written using C++. SFML graphics library is used for graphics rendering and CMAKE is used for building the project.

Requirements:

  • SFML
  • CMAKE
  • Compatible compiler for SFML (check download instructions)

Steps to build the project:

  • Add SFML to the environment variables or to the project directory
  • If using VS Code, select the compatible build toolkit (for example, mingw for mingw builds)
  • Build the project and execute "PAC-MAN.exe"

Steps to modify arena or map:

  • The game currently has 5 different levels
  • The following notation is used for constructing the map/arena:
    • -1 ==> empty space
    • 1 ==> walls
    • 0 ==> normal pill
    • 2 ==> large pill
  • Navigate to assets/maps and open the required txt file. Update the map as per the above convention and save the changes.

Steps to add a new arena/map:

Although it is possible to add a new arena in the current build, the process is not trivial. A simpler solution is WIP.

Screenshots from the game:

About

The classic Pac-Man game re-written in C++ using SFML graphics API. Customized enemy gameplay and added new arenas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published