refactor: renaming functions and removing old functions

This commit is contained in:
DarthMooMancer committed 2025-08-30 01:23:38 -04:00
1 parent 96e5eb9930
commit b0393c65f2
3 files changed
+6 -7

No files matched your search

+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;