25 Commits

Author SHA1 Message Date
andrea f88de159f5 restore default values
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
Arduino Pong CD / release (push) Has been cancelled
2026-03-21 13:59:03 +01:00
andrea fae479ce90 clean code adding a menu class
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
2026-03-21 13:52:54 +01:00
andrea d18415f472 select difficulty level (when play against bot) using a dedicated frame to show a graphics menu
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
2026-03-21 12:10:52 +01:00
andrea cef9f09c79 render visual menu on led matrix to easly allow user choose the game modes 2026-03-21 11:19:40 +01:00
andrea a9aed6b8d0 choose game mode
pvp, pvc, cvc
2026-03-21 10:24:15 +01:00
andrea 8e5fe2143c random shift ball vertical position after score 2026-03-19 22:32:01 +01:00
andrea 4bb6d6d6ee start thinking about MENU status 2026-03-19 22:23:29 +01:00
andrea 6ea443d92a single player with difficlut level balancement 2026-03-19 20:34:16 +01:00
andrea 2838b5fd14 start implementi difficulty level, but needs some balancements 2026-03-19 19:38:10 +01:00
andrea 69a8fb9dc4 first bot implementation
bot is now able to automatically move, but for now is too skilled, i need to reduce his skills
2026-03-19 18:49:58 +01:00
andrea eac8c59d96 reframe check_pad_movement logics and inherith the base Paddle class 2026-03-19 18:26:27 +01:00
andrea 49a772f6de clean logs and improve engine handling by removing hits and movment_delay from the loop to the engine 2026-03-18 21:41:51 +01:00
andrea abc0ddb661 fix collision state 2026-03-18 20:49:25 +01:00
andrea 33e070c442 added renderer.cpp/h files 2026-03-18 20:38:31 +01:00
andrea 1f6e65c5ec renderer class 2026-03-18 19:46:52 +01:00
andrea 7afa70c9d8 fix ball bouncing on pad behavior
now the ball bounces on pad when hit the pad, not when it reaches the edge of the "screen"
2026-03-18 19:12:09 +01:00
andrea 792c0f835c clean main sketch file 2026-03-18 19:00:50 +01:00
andrea 48fef4be86 move some logics to loop() 2026-03-18 18:12:38 +01:00
andrea 48c2610561 TODO 2026-03-17 23:43:37 +01:00
andrea 3d8881ab3d total reframe with classes 2026-03-17 23:25:30 +01:00
andrea d8efabd6da start refactoring pong entities to use classes 2026-03-17 20:11:21 +01:00
andrea c774e11923 Improve arduino_pong.ino using enum to handle game statuses and switch case for better readibility and little memory improvements
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
Arduino Pong CD / release (push) Has been cancelled
2026-03-17 18:42:48 +01:00
andrea b3f6aeb3fe 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
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
2026-03-16 22:37:53 +01:00
andrea 6e5fc8ea10 change digital pins to avoid collisions with pin13 for L Led on the board
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
Arduino Pong CD / release (push) Has been cancelled
2026-03-15 22:43:00 +01:00
andrea cb42a45aa7 move all libs into src
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
2026-03-15 21:14:04 +01:00