Save the farm! In this fast-paced arcade game, your mission is to collect fresh eggs from the field and deliver them to the baskets in the corners of the farm. But be careful — the chickens are protective and won't make it easy for you!
- Dynamic Farm Life: Chickens move around the field, laying eggs and periodically sitting on them to hatch new chicks, increasing the chaos as the level progresses.
- Egg Evolution: Eggs aren't just collectibles. Fresh eggs can turn rotten over time, becoming obstacles that block both the player and the chickens.
- Campaign Mode: Progress through 10 increasingly difficult levels, each with more chickens to dodge and more eggs to collect.
- Corner-Based HUD: Keep track of your mission status with zero-padded countdowns in each corner of the screen, showing exactly how many eggs are needed for each basket.
- Celebratory Atmosphere: Enjoy fluid character movement, celebratory victory animations with blinking chickens, and a clean terminal-based interface.
src/: Source code directory.bin/: Build artifacts directory (binaries).obj/: Object files.the_great_egg_hunt.gpr: GNAT project file.
- GNAT Ada Compiler (e.g., GNAT 13)
gprbuildtoolncursesadalibrary (Terminal_Interface.Curses)
To build the project, use the following command from the root directory:
gprbuild -P the_great_egg_hunt.gprThis will create:
- The executable file at
dist/egghunt. - Intermediate object files in
obj/.
Run the game using:
./bin/the_great_egghunt- Level Selection: Start the journey by choosing any of the 10 difficulty levels using UP/DOWN and ENTER.
- Controls:
- Move:
W,A,S,Dor Arrow Keys. - Quit:
Q
- Move:
- Mission: Collect fresh eggs from the field and safely deliver them to any of the four corner baskets (
U). - Mission Progress: Watch the Corner HUD (White on Blue). Each corner shows the eggs required for that specific basket.
- Success: Once all baskets are filled, the level is complete! Watch the chickens celebrate (blink) during the victory pause, then press R to move to the next area of the farm.
- Egg Types:
- White ('o'): Fresh eggs! Pick them up to deliver.
- Green ('*'): Rotten eggs. These are obstacles that block both you and the chickens.
- Chicken Behavior:
- Moving ('C'): Standard state, don't let them touch you!
- Incubating ('S'): A chicken has found a fresh egg and is sitting on it. After a delay, there's a 40% chance of a new chicken hatching.
- Egg Lifecycle: Fresh eggs eventually disappear (70%) or turn rotten (30%). While a chicken is sitting on them, they stay fresh.