a bunch of mini optimizations

This commit is contained in:
DarthMooMancer
2025-11-13 02:04:31 -05:00
parent c1fb582c0e
commit ab0d8532f2
2 changed files with 38 additions and 51 deletions
+3 -1
View File
@@ -3,6 +3,7 @@
#include <array>
#include <ncurses.h>
#include <string>
constexpr int ROW = 3;
constexpr int COL = 3;
@@ -25,13 +26,14 @@ private:
const char id;
};
std::string status;
Window win;
Player player1 { 'x' };
Player player2 { 'o' };
Player *temp { &player1 };
bool process_input();
bool exit_code();
bool check_line(char id);
bool check_line(char id) const;
};
#endif