Files
ncurses-gameoflife/game.h
T
2020-06-24 14:27:24 +01:00

26 lines
281 B
C

#include <stdbool.h>
#ifndef GAME_H
#define GAME_H
void initGame();
bool isRunning();
void updateGame();
void drawGame();
void handleInput(char ch);
// Overlays
// Draws cursor and cursor position
void drawLastPressed(char ch);
void drawCurPos();
bool endgame();
#endif