moving things around

This commit is contained in:
DarthMooMancer
2025-11-24 00:31:52 -05:00
parent 81d655453f
commit aba76408f8
3 changed files with 21 additions and 29 deletions
+5 -6
View File
@@ -2,21 +2,20 @@
#include <array>
#include <string>
#include <ncurses.h>
class Engine {
public:
Engine();
~Engine();
~Engine() { endwin(); }
void run();
private:
char p1 { 'x' }, p2 { 'o' }, temp { p1 };
std::string status;
std::array<char, 9> view;
void draw_display() const;
char p1 { 'x' };
char p2 { 'o' };
char temp { p1 };
bool process_input();
bool check_game_over();
bool check_line(char id) const;
bool update_status();
bool process_input();
};