back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Added colorsscratko2024-04-171-1/+1
| | | | | | | | | | | Changed the number of pacman's lives. Fixed clear_or_revert_symbol(). Target hit display. Changed ghost initialization. Clearing ghost positions is moved to the function. Added flag in struct ghost_type (reached_pacman). Changed catching stage. Now eating an energizer resets the counter.
* Capture and liberation of ghostsscratko2024-04-141-1/+1
| | | | | | | | Fixed coordinate in field_has_coin. Added marks on the field for the liberation zone (1 in front of #). Prison parameters for the ghost are set. Fixed condition in BFS search (additionally exclude the current point in the loop, dx == 0 && dy == 0).
* Added behavior modesscratko2024-04-121-4/+9
| | | | | Reverse direction Random direction
* Searching for all ghostsscratko2024-04-101-1/+1
|
* BFS, queue filesscratko2024-04-071-12/+7
| | | | | | 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/+19