We are using iGraphics library of C language to implement the Pacman game. This is a very simple project built for the CSE-102 course (Stractured programming language sessional) of CSE, BUET.
All necessary files are given in the iGraphics
folder. There is also a manual about installing using it with CodeBlocks IDE. If you are using CLion or any other IDE that uses CMakeLists, you can read this answer on StackOverflow written by me.
It's pretty intuitive. Up button for going up, left button for going left etc. Don't get eaten, live as long as you can. Your score will be updated with time.