started on functionality related to the game of life

This commit is contained in:
Sheldon Lee
2020-06-14 02:55:02 +01:00
parent d48e580938
commit 72435a2319
3 changed files with 339 additions and 320 deletions
+4
View File
@@ -12,8 +12,12 @@ typedef struct Grid {
void initGrid(Grid* grid, unsigned int width, unsigned int height);
unsigned int toIndex(Grid* grid, int x, int y);
void clearGrid(Grid* grid);
void updateGrid(Grid* grid);
void putPixel(Grid* grid, int x, int y);
void drawGrid(Grid* grid);