Commit Graph

61 Commits

Author SHA1 Message Date
andrea fbad1a87d6 min 2026-03-19 22:24:23 +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 68dfce8b12 Merge branch 'master.use_classes'
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
v1.0.5
2026-03-18 21:45:39 +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 5afa726015 minors 2026-03-18 18:24:52 +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
v1.0.4
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
v1.0.3
2026-03-15 22:43:00 +01:00
andrea 28f029ce03 update ci.yml with new libs structure
Arduino Pong CI / build (ubuntu-latest) (push) Has been cancelled
Arduino Pong CI / build (macos-latest) (push) Has been cancelled
Arduino Pong CI / build (windows-latest) (push) Has been cancelled
2026-03-15 21:15:49 +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
andrea c47291e258 minors
Arduino Pong CI / build (ubuntu-latest) (push) Has been cancelled
Arduino Pong CI / build (windows-latest) (push) Has been cancelled
Arduino Pong CI / build (macos-latest) (push) Has been cancelled
Arduino Pong CD / release (push) Has been cancelled
v1.0.2
2026-03-15 20:29:56 +01:00
andrea fec4db0c5d improve rerender logics
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 20:23:52 +01:00
andrea 7c065d8799 updated ci.yml
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 20:09:21 +01:00
andrea 31891bbc0e minors
Arduino Pong CD / release (push) Has been cancelled
v1.0.1
2026-03-15 20:02:27 +01:00
andrea 5eeb735364 split main .ino fine into multiple sub files
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 19:56:20 +01:00
andrea a938adff31 generate build files for cd
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
v1.0.0
2026-03-15 18:19:48 +01:00
andrea 1f143520a8 add cd status on README 2026-03-15 18:13:58 +01:00
andrea cbdfcce354 cd permissions
Arduino Pong CD / release (push) Has been cancelled
2026-03-15 18:11:53 +01:00
andrea 66957b5e19 remove unecessary lib from cd
Arduino Pong CD / release (push) Has been cancelled
2026-03-15 18:09:13 +01:00
andrea f12af76845 minor
Arduino Pong CD / release (push) Has been cancelled
2026-03-15 18:07:15 +01:00
andrea 8906b2eab5 first test with CD
Arduino Pong CD / release (push) Has been cancelled
v1.0
2026-03-15 18:04:59 +01:00
andrea 5b94e21f21 minor text
Arduino Pong CI / build (macos-latest) (push) Has been cancelled
Arduino Pong CI / build (windows-latest) (push) Has been cancelled
Arduino Pong CI / build (ubuntu-latest) (push) Has been cancelled
2026-03-15 17:08:59 +01:00
andrea 8a7bd2b192 define matrix led size 2026-03-15 17:07:03 +01:00
andrea 487756978f fix duplicated frame initialization
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 16:22:28 +01:00
andrea bf2b794421 Add full arduino-cli installation and preparation on Makefile and redefine the CI istructions
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 13:38:54 +01:00
andrea f0e8a7f05f CI typo 2026-03-15 13:00:09 +01:00
andrea 2727dfb0ef ci.yml
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 12:28:08 +01:00
andrea bb79c885a9 update arduino/setup-arduino-cli@v2
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 12:13:50 +01:00
andrea cd9d4289ef update actions/checkout version to use node24 and fix CI warnings
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 12:09:05 +01:00
andrea d15ae7ba57 exectue CI only when selected files are modified
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 12:05:30 +01:00
andrea 1337269d32 updated README.md with CI actions badge and license bade
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 12:02:14 +01:00
andrea 69386ba4da added CI build test also for mac and windows
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 11:54:10 +01:00
andrea 455014fdff Improved Makefile 2026-03-15 11:52:26 +01:00
andrea 280e681ba6 ci: add github actions workflow for automatic compilation
Arduino Pong CI / build (push) Has been cancelled
2026-03-15 11:37:03 +01:00
andrea f710fb2a0e updated README 2026-03-15 11:19:36 +01:00
andrea 748cf6a678 updated preview image 2026-03-15 11:14:13 +01:00
andrea b1b421c367 updated preview image 2026-03-15 11:08:52 +01:00