feat: both player checks for game to work

This commit is contained in:
DarthMooMancer
2025-09-08 10:15:57 -04:00
parent 46a2394e9e
commit 2f5b6f102c
+5 -1
View File
@@ -21,7 +21,11 @@ int main() {
points_list[i].check_collision(points_list);
}
if(one.check_chain(window.m_board, points_list)) {
std::cout << "Hello" << std::endl;
std::cout << "Player 1 wins!" << std::endl;
running = false;
}
if(two.check_chain(window.m_board, points_list)) {
std::cout << "Player 2 wins!" << std::endl;
running = false;
}
}