| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Game over screen.
Corrected coordinates in is_liberation_zone().
The capture of pacman.
Changed the function name from caughting_stage() to catching_stage().
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Coin checks in yellow blocks and stars.
Fixed arguments of find_free_directions function.
|
|
|
|
|
| |
Reverse direction
Random direction
|
|
|
|
| |
Yellow intersections added.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Fixed remaining direction check for pacman (old version was commented out).
Breadth First Search for red ghost.
Changed switch style.
|
|
|