feat: Added ball and collision to paddles. Added a score system and timer for game. May be done in one day.

This commit is contained in:
DarthMooMancer
2025-08-30 22:41:39 -04:00
parent fe8e4346a2
commit fbdf7af31e
9 changed files with 138 additions and 44 deletions
+2 -4
View File
@@ -6,9 +6,7 @@
#include "elements.hpp"
struct Window {
// Window();
std::array<std::array<char, COL>, ROW> m_board;
// void update_display();
void update_display(Paddle &a, Paddle &b);
std::array<std::array<char, COL>, ROW> m_board = {};
void update_display(Paddle &left, Paddle &right, Ball &ball, int &time);
};
#endif