Skip to content

ABuarque/RanchoBreak

Repository files navigation

RanchoBreak

screeshot

This app is a simple game made in C where a cow is running way from a butcher and you can help it to not became a barbecue. To do so, over the path of cow there are some obstacles and you have to avoid them by jumping the cow.

To jump the cow, you just have to press space.

To get the game, run to the directory that you have cloned, open the terminal and type make, and then ./app

Contributors:

Project knowledges used

  • On developing process, this app has used primitives for store things like players scores and the number of remaining lives of our cow;
  • Strings were used to handle words and playes names;
  • Arrays and matrices were used to handle animation tasks like the movement;
  • Loops were used also to animation handling, together with arrays and matrices;
  • Structs were used to model the player-user and the cow of game;
  • Functions were used to package and reuse instructions block like the function which returns a new player object;
  • Pointers were used to create the tree and the pointers for structs of players and cow;
  • Files were used to handle the app data in such a way that we could persist them in a text file;
  • The Linked List data structure was used to hold all the players;
  • Recursion were used in some situations of the created Linked List like searching within it;
  • Condicionals were used to check some conditions like object colisions;
  • Dinamic allocation was used to create pointers for our structs like creating a new player object;
  • Binary search algorithm was used to get players ranking on our Linked List;
  • We also used sorting process when we added new players into our Linked List;

About

A fancy game made in C with graphic user interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages