fix(snake.cpp .hpp): first step to extracting tail functions and head movement to just head and tail separately

This commit is contained in:
DarthMooMancer
2025-08-23 00:33:48 -04:00
parent bb1040fff5
commit 667d7219bf
5 changed files with 72 additions and 94 deletions
+1 -1
View File
@@ -2,6 +2,7 @@
#define POINT_HPP
#include <array>
#include <string>
#include "globals.hpp"
struct Point {
@@ -12,7 +13,6 @@ struct Point {
std::string to_string() const;
void clear(std::array<std::array<char, COL>, ROW> &arr) const;
void get_new_point(int direction);
};
#endif // POINT_HPP