not important just continuing over to mac

This commit is contained in:
DarthMooMancer
2025-09-07 00:09:39 -04:00
parent 5255e56c6b
commit 51ba052d9a
5 changed files with 54 additions and 7 deletions
+3 -4
View File
@@ -4,13 +4,13 @@
#include <vector>
struct Point {
Point() : m_row(0), m_col(0), m_id(0), m_active(true) {}
Point(int row, int col, int id) : m_row(row), m_col(col), m_id(id), m_active(true) {}
Point() : m_row(0), m_col(0), m_id(0) {}
Point(int row, int col, int id) : m_row(row), m_col(col), m_id(id) {}
int m_row;
int m_col;
int m_id;
bool m_active;
char m_symbol;
void to_string();
void assign(int row, int col);
void move();
void check_collision(std::vector<Point> &points_list);
@@ -20,7 +20,6 @@ struct Player {
Player(char symbol, bool turn) : m_symbol(symbol), m_turn(turn) {}
char m_symbol;
bool m_turn;
std::vector<Point> m_points;
void input_tile(int col, std::vector<Point> &points);
};
+1
View File
@@ -9,6 +9,7 @@
struct Window {
std::array<std::array<char, COL>, ROW> m_board = {};
void update_display(std::vector<Point> &points_list);
bool check_chain();
};
#endif