Files
glider-pong/README.md
2026-03-05 10:25:46 +11:00

48 lines
883 B
Markdown

# 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.
- - - - - - - -
# 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 !
![glider-pong](/dualscreenglider.jpg)