Skip to content
Snippets Groups Projects
Commit 8b3aa2ec authored by Leonardo Krambeck's avatar Leonardo Krambeck
Browse files

implementa main, os tipos e cabeçalhos

parent c1028b8c
No related branches found
No related tags found
No related merge requests found
#include <stdio.h>
typedef struct Generation {
int **board;
int rows;
int cols;
} generation_t;
typedef struct Game {
generation_t this;
generation_t next;
} game_t;
void startGame (generation_t *game, int *argc, char ***argv)
void firstGeneration (generation_t *game)
void playGame (generation_t *game)
int main (int argc, char **argv)
{
game_t game;
startGame (&game, &argc, &argv);
firstGeneration (&game)
playGame (&game);
return 0;
}
void startGame (generation_t *game, int *argc, char ***argv)
{
}
void firstGeneration (generation_t *game)
{
}
void playGame (generation_t *game)
{
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment