start implementi difficulty level, but needs some balancements

This commit is contained in:
andrea
2026-03-19 19:38:10 +01:00
parent 69a8fb9dc4
commit 2838b5fd14
3 changed files with 54 additions and 18 deletions

View File

@@ -35,9 +35,10 @@ enum game_statuses : uint8_t {
game_statuses game_status= TIMER;
Ball ball(4, 6);
HumanPaddle p1(1, P1_BTN_UP, P1_BTN_BOTTOM);
// HumanPaddle p1(1, P1_BTN_UP, P1_BTN_BOTTOM);
// HumanPaddle p2(4, P2_BTN_UP, P2_BTN_BOTTOM);
BotPaddle p2(4, 1);
BotPaddle p1(1, 0, 1);
BotPaddle p2(4, MATRIX_WIDTH-1, 1);
Engine engine(p1, p2, ball, INITIAL_BALL_DELAY);
Renderer renderer(p1, p2, ball, frame, matrix);