From db0b962a757c7fd6e1e8f9dfd999f33162d77aae Mon Sep 17 00:00:00 2001 From: blz Date: Thu, 5 Mar 2026 10:20:07 +1100 Subject: [PATCH] Actualiser README.md --- README.md | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f962160..c0f4117 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,47 @@ # glider-pong -Génération d'images à la "jeux de la vie" dans le style led-pong écrit en C. Game of life" like image generation in led-pong style written in C. \ No newline at end of file +Génération d'images à la "jeux de la vie" dans le style led-pong écrit en C. Game of life" like image generation in led-pong style written in C. + +- - - - - - - - +# Install + +## Fedora / RedHat : +``` +# dnf install gcc +# dnf install SDL_image +# dnf install SDL_image-devel +``` + +## Debian : +``` +# apt install gcc +# apt install libsdl-image1.2 +# dnf install libsdl-image1.2-dev +# apt-get install libsdl1.2-compat ( might be needed, or not ) +``` + +- - - - - - - +# Run +``` +$ ./compile-glisseur.sh +``` + +- - - - - - - +# Kill +Close the window or CTRL+C in the terminal + +- - - - - - - +# Adjust image size +Update largeur and hauteur on lines 10 and 11 +``` +#define LARGEUR 70 +#define HAUTEUR 70 +``` + +- - - - - - - +# Change glider moving rules +Update the direction adding parameters on line 91 to line 112 + +- - - - - - - +# Let's glide ! +