The code of pacman game is highly precised and run with four keys 'w'up,'s'down,'d'left,'a'right.There is a pacman who eat foodballs.And a ghost who follow and caught pacman leading to end the game.
)- foodballs
- pacman(C)
- Ghost(G)
- background walls
- pacman moves with four buttons 'w'up, 's'down, 'd'left, 'a'right
- if pacman done with eating all foodballs, you won
- if ghost caught pacman, game over
- Ghost moves automatically due to randome function use
- foodballs
- pacman(C)
- Ghost(G)
- background walls
- pacman moves with four buttons 'w'up, 's'down, 'd'left, 'a'right
- if pacman done with eating all foodballs, you won
- if ghost caught pacman, game over
- Ghost moves automatically due to randome function use
it improves your the coding skills.Many new libraries have used like ctime,stdlib.h and string.It Helps in deep understanding of data types like string and char and their usage.
- cpp file
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.