Actualiser README.md
This commit is contained in:
44
README.md
44
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.
|
||||
|
||||
- - - - - - - -
|
||||
# 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 !
|
||||
|
||||
|
||||
Reference in New Issue
Block a user