ncurses-gameoflife/game.h

26 lines
281 B
C
Raw Normal View History

#include <stdbool.h>
#ifndef GAME_H
#define GAME_H
void initGame();
bool isRunning();
2020-06-24 11:05:49 +08:00
void updateGame();
void drawGame();
void handleInput(char ch);
2020-06-24 11:05:49 +08:00
// Overlays
// Draws cursor and cursor position
void drawLastPressed(char ch);
2020-06-24 11:05:49 +08:00
void drawCurPos();
bool endgame();
#endif
2020-06-24 11:05:49 +08:00