This commit is contained in:
DarthMooMancer
2025-12-01 00:21:20 -05:00
parent 1cf1df1135
commit 8585c268de
2 changed files with 4 additions and 11 deletions
+2 -3
View File
@@ -4,8 +4,8 @@
#include <chrono>
#include <ncurses.h>
constexpr int ROW = 15;
constexpr int COL = 31;
constexpr int ROW { 15 };
constexpr int COL { 31 };
constexpr int SIZE { 3 };
struct vec2 {
@@ -26,7 +26,6 @@ struct Paddle {
struct Window {
std::array<std::array<char, COL>, ROW> view = {};
void clear_display();
void draw_display() const;
void update_display(const vec2 &ball, const Paddle &p1, const Paddle &p2);
};