refactor: renaming functions and removing old functions

This commit is contained in:
DarthMooMancer
2025-08-30 01:23:38 -04:00
parent 96e5eb9930
commit b0393c65f2
3 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ int main () {
std::ref(running));
while (running) {
body.collision(head);
body.add_tail();
body.check_collision(head);
body.check_new_tail();
if(body.m_body.size() >= (ROW * COL)) {
std::cout << "You win! Score: " + std::to_string(body.m_body.size()) << std::endl;
running = false;