Actualiser README.md

This commit is contained in:
blz
2026-03-05 10:05:25 +11:00
parent 6237f378e7
commit 9c16c73885

View File

@@ -5,7 +5,7 @@ Génération d'images à la "jeu de la vie" écrit en C.
"Game of life" like image generation written in C. "Game of life" like image generation written in C.
- - - - - - - - - - - - - - - -
# Installation # Install
## Fedora / RedHat : ## Fedora / RedHat :
``` ```
@@ -23,7 +23,7 @@ Génération d'images à la "jeu de la vie" écrit en C.
``` ```
- - - - - - - - - - - - - -
# Compiling # Compile
## Fedora / RedHat : ## Fedora / RedHat :
``` ```
@@ -36,19 +36,19 @@ $ gcc -o glisseur_10 glisseur_10.c `sdl-config --cflags --libs`
``` ```
- - - - - - - - - - - - - -
# Running # Run
``` ```
$ ./sdl-glisseur_10 $ ./sdl-glisseur_10
``` ```
- - - - - - - - - - - - - -
# Killing # Kill
``` ```
$ top (or ps ax) ---> get PID of the glider proccess $ top (or ps ax) ---> get PID of the glider proccess
$ kill -9 PID $ kill -9 PID
``` ```
- - - - - - - - - - - - - -
# Adjusting image size # Adjust image size
Update i and j on lines 122 and 123 Update i and j on lines 122 and 123
``` ```
i=320; i=320;
@@ -56,7 +56,7 @@ Update i and j on lines 122 and 123
``` ```
- - - - - - - - - - - - - -
# Changing glider moving rules # Change glider moving rules
Update the direction adding parameters, check examples from line 158 to line 205 Update the direction adding parameters, check examples from line 158 to line 205
- - - - - - - - - - - - - -