back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/field.h
Commit message (Collapse)AuthorAgeFilesLines
* Added behavior modesscratko2024-04-121-1/+2
| | | | | Reverse direction Random direction
* Removed the reverse motion for ghostsscratko2024-04-111-8/+14
| | | | Yellow intersections added.
* Tracking coins eatenscratko2024-04-071-4/+9
| | | | | | | 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-8/+15
| | | | | | 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/+46