back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/pac.h
Commit message (Collapse)AuthorAgeFilesLines
* Game over and restartscratko2024-04-151-0/+2
| | | | | | | Game over screen. Corrected coordinates in is_liberation_zone(). The capture of pacman. Changed the function name from caughting_stage() to catching_stage().
* Added behavior modesscratko2024-04-121-0/+1
| | | | | Reverse direction Random direction
* Tracking coins eatenscratko2024-04-071-3/+4
| | | | | | | The initialization of ncurses parameters and ghosts was put into functions. The order of movements has been changed: now pacman moves first. Accounting for eaten coins. Correct coin erasure.
* BFS, queue filesscratko2024-04-071-3/+3
| | | | | | Fixed remaining direction check for pacman (old version was commented out). Breadth First Search for red ghost. Changed switch style.
* Initial commitscratko2024-04-021-0/+29