Pac-Man game CG Project using OpenGL Source Code & Report

Original price was: ₹800.00.Current price is: ₹399.00.

The Source Code and Report (Word and pdf files) are Downloadable immediately after the successful payment

Project Description

The Pac-Man game has its roots as a Japanese arcade game developed by Namco (now Namco Bandai) and licensed for distribution in the U.S. by Midway, first released in Japan on May 22, 1980. Pac-Man is universally considered as one of the classics of the medium, virtually synonymous with video games, and an icon of 1980s popular culture. When it was released, the game became a social phenomenon.
The Pac-Man game is often credited with being a landmark in video game history and is among the most famous arcade games of all time. The character also appears in more than 30 officially licensed games sequels, as well as in numerous unauthorized clones and bootlegs.

Basic Working Of PacMan :

 The player controls Pac-Man through a maze, eating dots. When all dots are eaten, the Pac-Man game is over. Four ghosts roam the maze, trying to catch Pac-Man. If a ghost touches Pac-Man, a life is lost. When all lives have been lost, the game ends. Near the corners of the maze are four larger, flashing dots known as “Energizers” or “Power Pills”, which provide Pac-Man with the temporary ability to eat the ghosts.

The ghosts turn deep blue, reverse direction, and usually move more slowly till it returns to their normal state. When Pac-Man eats the ghost in a vulnerable state, the ghost traverses back to the jail and re-initializes to start a new attack. Collision Detection for Pac-Man and Ghost, and Artificial Intelligence for Ghost have been implemented. A total of 260 points are assigned (1 point for a normal pebble and 5 points for a super pebble) and max lives of 3 are being set up with a 3-D Maze.

Related Data Structure :

The package uses data structures like Stack for storing the coordinates of primitives and also uses Arrays for storing the pixel values.


  • Dual Core Processor
  • 2GB RAM
  • 40GB Hard disk
  • DVD drive
  • Mouse and other pointing devices
  • Keyboard


  • Programming language – C/C++ using OpenGL
  • Operating system – Windows or Linux operating system
  • Compiler – C Compiler
  • Graphics library – GL/glut.h
  • OpenGL 2.0

How to run the project:

  1. Install code blocks and freegult in the Windows operating system.
  1. Extract the contents of the zip folder downloaded.

  2. Then click on Pac-Man.cbp file.

  3. The project will open in code blocks.

  4. Then select the build option from the menu and select build and run.

  5. Finally, select the run option from the build menu.


There are no reviews yet.

Be the first to review “Pac-Man game CG Project using OpenGL Source Code & Report”

Your email address will not be published. Required fields are marked *