Files
arduino_pong/src/pong_ball.h
andrea b3f6aeb3fe
Some checks failed
Arduino Pong CI / build (macos-latest) (push) Has been cancelled
Arduino Pong CI / build (ubuntu-latest) (push) Has been cancelled
Arduino Pong CI / build (windows-latest) (push) Has been cancelled
Show scores on the matrix, show winner message once someone reches 9, add start ball movement delay on start and restart after score, and fix uncentered ball on restart
2026-03-16 22:37:53 +01:00

7 lines
173 B
C

#ifndef PONG_BALL_H
#define PONG_BALL_H
bool move_ball(int &ball_x, int &ball_y, int &loop_delay, int players_coords[2], int players_scores[2], int &need_refresh);
#endif