> For the complete documentation index, see [llms.txt](https://ceri-num.gitbook.io/git/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ceri-num.gitbook.io/git/practice/exo1.md).

# Exo1

{% hint style="info" %}
Exercice: Compile and run the Flappy bird C implementation from <https://github.com/superjer/tinyc.games>.
{% endhint %}

**Question 1**: which git operation will you do first?

{% hint style="warning" %}
Yes, compiling someone else's code is difficult, you need to read the doc (if any), install the required dependencies, ... So, help your users: document, provide compilation scripts, ...
{% endhint %}

{% hint style="info" %}
Exercice: Add the following functionnality: **pressing ESC at anytime should quit the game**. You must commit your modifications.
{% endhint %}

**Question 2**: once committed, can you loose your changes? in which cases?

**Questions 3**:

* what is the remote configured on your local repository and which command should you use to check that?
* can you push your commits and on which repository?

**Questions 4**: what should you do if you want to push your commits on github?

**Questions 5**: what should you do if you would like to propose your enhancements to the original repository `superjer/tinyc.games`?
