An open API service indexing awesome lists of open source software.

https://github.com/theviper008/pacman-game-using-opengl

A simple Pac-Man game implemented using OpenGL and GLUT. Control Pac-Man using the WASD keys, eat all the points, and avoid the enemies to win the game.
https://github.com/theviper008/pacman-game-using-opengl

cpp glut opengl

Last synced: 4 months ago
JSON representation

A simple Pac-Man game implemented using OpenGL and GLUT. Control Pac-Man using the WASD keys, eat all the points, and avoid the enemies to win the game.

Awesome Lists containing this project

README

          

# PacMan-Game-Using-OpenGL

A simple Pac-Man game implemented using OpenGL and GLUT. Control Pac-Man using the WASD keys, eat all the points, and avoid the enemies to win the game.

## Features

- Classic Pac-Man gameplay
- Simple graphics using OpenGL
- Control Pac-Man with WASD keys
- Enemies with basic AI
- Win and game over conditions

## Controls

- `W` - Move Up
- `A` - Move Left
- `S` - Move Down
- `D` - Move Right
- `ESC` - Exit the game

## How to Play

- Use the `W`, `A`, `S`, `D` keys to move Pac-Man.
- Avoid the enemies and eat all the points to win.
- If an enemy catches Pac-Man, the game is over.

## Screenshots

### Gameplay Screenshot
![Screenshot 2024-08-01 113320](https://github.com/user-attachments/assets/ff7cf2bc-ca3c-4fea-8433-5e1f18b3f784)

### Victory Screen
![Screenshot 2024-08-01 121205](https://github.com/user-attachments/assets/4556590c-fce8-48c6-aa4c-65f5c7a6ebef)

### Game Over Screen
![Screenshot 2024-08-01 121232](https://github.com/user-attachments/assets/fe5f94f4-b022-4014-97f9-13493b7a004f)

## Contributing

Feel free to fork this repository and submit pull requests. Contributions are welcome!

## Acknowledgements

- Inspired by the classic Pac-Man arcade game.
- Built with OpenGL and GLUT.