# glider-pixel Génération d'images à la "jeu de la vie" écrit en C. "Game of life" like image generation written in C. - - - - - - - - # Installation ## Fedora / RedHat : ``` # dnf install gcc # dnf install SDL_image # dnf install SDL_image-devel ``` - - - - - - - # Compiling ``` $ gcc `sdl-config --cflags --libs` glisseur_10.c -o glisseur_10 ``` - - - - - - - # Running ``` $ ./sdl-glisseur_10 ``` - - - - - - - # Killing ``` $ top (or ps ax) ---> get PID of the glider proccess $ kill -9 PID ``` - - - - - - - # Adjust image size Update i and j on lines 122 and 123 ``` i=320; j=240; ``` - - - - - - - # Change glider moving rules Update the direction adding parameters, check examples from line 158 to line 205 - - - - - - - ![glider-pixel](/glider_pixel.png)