This commit is contained in:
DarthMooMancer
2025-11-07 00:49:52 -05:00
parent 1ef6f37a49
commit a40813294e
4 changed files with 45 additions and 16 deletions
+3 -3
View File
@@ -3,12 +3,13 @@
#include <memory>
#include <array>
#include <globals.hpp>
constexpr int ROW = 5;
constexpr int COL = 5;
struct Window {
Window();
std::array<std::array<char, COL>, ROW> view;
void clear_display();
void draw_display();
};
@@ -40,7 +41,6 @@ private:
Player *temp;
GameState() : player1('x'), player2('o'), temp { &player1 } {};
} state;
void set_player();
bool process_input();
bool exit_code();
bool check_line(char id);