Inspiration
After seeing geese walking around the waterloo campus, we wanted to go feed and pet the geese. However, this not possible with real life geese so we made a game to allow us to do this virtually.
What it does
This game allows you to feed and pet geese. Feeding and petting the geese will eventually make the geese grow up!
How we built it
We built the game in visual studio with c from scratch and portray the geese with fine ascii arts.
Challenges we ran into
One of the challenges that we ran into is formatting the goose ascii to align the printing of the char over different lines, especially with the c syntax. Updating and printing the position of the goose on the screen was also difficult.
Accomplishments that we're proud of
Having a framework that allows us to stimulate a goose's life. Utilizing the structural of O(1) char pointer transformation allows us to reduce the call to the buffering flush functions by a margin.
What we learned
Look up table with simple hash index modulo reduces the time complexity of selecting the goose food value or various costs significantly.
What's next for Goose Kingdom
Adding mutation for new born geese, as well as special effects for different food. Money system has some defects, and requires more rigorous structures to progress the game without simply AFK-ing. Besides, battling feature would also be an interesting idea.
Log in or sign up for Devpost to join the conversation.