Skip to content

About

Save the farm from the chicken chaos!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

The Great Egg Hunt

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!

ksnip_20260425-211017_result

Features

  • 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.

Project Structure

  • src/: Source code directory.
  • bin/: Build artifacts directory (binaries).
  • obj/: Object files.
  • the_great_egg_hunt.gpr: GNAT project file.

Prerequisites

  • GNAT Ada Compiler (e.g., GNAT 13)
  • gprbuild tool
  • ncursesada library (Terminal_Interface.Curses)

Building

To build the project, use the following command from the root directory:

gprbuild -P the_great_egg_hunt.gpr

This will create:

  • The executable file at dist/egghunt.
  • Intermediate object files in obj/.

Running

Run the game using:

./bin/the_great_egghunt

Gameplay

  • Level Selection: Start the journey by choosing any of the 10 difficulty levels using UP/DOWN and ENTER.
  • Controls:
    • Move: W, A, S, D or Arrow Keys.
    • Quit: Q
  • 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.

About

Save the farm from the chicken chaos!

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages