| 
    IN101 project on Conway's Game of Life
    
   | 
 
Header file for a linked list implementation of Conway's game of life pbm image printer. More...


Go to the source code of this file.
Functions | |
| void | list_generate_image (universe u, int idx) | 
| Generate the image corresponding to a universe.  Image will be of PPM format and created in the out folder, with the filename idx-XXX.ppm where XXX in the the image index.  More... | |
| void | list_generate_image_filename (universe u, char *filename) | 
| Generate the image corresponding to a universe.  Image will be of PPM format. More...  | |
Header file for a linked list implementation of Conway's game of life pbm image printer.
Naive implementation of the Conway's game of life: 
The universe's size if given and constant. 
The universe state is recorded using a character list (string) following the convention . for dead and o for alive.
API
list_generate_image to generate an image corresponding to a universe, with a number as a filename, in the out folderlist_generate_image_filename to generate an image of given filename corresponding to a universe | void list_generate_image | ( | universe | u, | 
| int | idx | ||
| ) | 
Generate the image corresponding to a universe. 
Image will be of PPM format and created in the out folder, with the filename idx-XXX.ppm where XXX in the the image index. 
| u | universe | 
| idx | image index, used for its filename | 
| void list_generate_image_filename | ( | universe | u, | 
| char * | filename | ||
| ) | 
Generate the image corresponding to a universe. 
Image will be of PPM format. 
| u | universe | 
| filename | 
 1.8.13