From ef3844bf2128fa82f20c5995d1fca66fadba2ce3 Mon Sep 17 00:00:00 2001 From: scratko Date: Wed, 17 Apr 2024 17:00:48 +0300 Subject: Added colors 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. --- pac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pac.h') diff --git a/pac.h b/pac.h index ea0825b..f415f06 100644 --- a/pac.h +++ b/pac.h @@ -4,7 +4,7 @@ #include "ghosts.h" enum { - max_live = 3, + max_live = 2, pac_y = 22, pac_x = 14 }; -- cgit v1.2.3