feat: added input (player_one and player_two now can place on board)

This commit is contained in:
DarthMooMancer
2025-09-02 10:58:08 -04:00
parent 169d39d974
commit 000bc7811a
9 changed files with 108 additions and 13 deletions
+21
View File
@@ -0,0 +1,21 @@
#include <iostream>
#include "elements.hpp"
Point::Point() {
m_row = 0;
m_col = 0;
}
void Point::assign(int row, int col) {
m_row = row;
m_col = col;
}
void Point::to_string() {
std::cout << "(" << m_row << ", " << m_col << ")" << std::endl;
}
// Tile::Tile(int row, int col) {
// m_pos.assign(row, col);
// m_symbol = ' ';
// }