33 Commits

Author SHA1 Message Date
andrea
a938adff31 generate build files for cd
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
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
Some checks failed
Arduino Pong CD / release (push) Has been cancelled
2026-03-15 18:11:53 +01:00
andrea
66957b5e19 remove unecessary lib from cd
Some checks failed
Arduino Pong CD / release (push) Has been cancelled
2026-03-15 18:09:13 +01:00
andrea
f12af76845 minor
Some checks failed
Arduino Pong CD / release (push) Has been cancelled
2026-03-15 18:07:15 +01:00
andrea
8906b2eab5 first test with CD
Some checks failed
Arduino Pong CD / release (push) Has been cancelled
v1.0
2026-03-15 18:04:59 +01:00
andrea
5b94e21f21 minor text
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
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
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
2026-03-15 16:22:28 +01:00
andrea
bf2b794421 Add full arduino-cli installation and preparation on Makefile and redefine the CI istructions
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
2026-03-15 13:38:54 +01:00
andrea
f0e8a7f05f CI typo 2026-03-15 13:00:09 +01:00
andrea
2727dfb0ef ci.yml
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
2026-03-15 12:28:08 +01:00
andrea
bb79c885a9 update arduino/setup-arduino-cli@v2
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
2026-03-15 12:13:50 +01:00
andrea
cd9d4289ef update actions/checkout version to use node24 and fix CI warnings
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
2026-03-15 12:09:05 +01:00
andrea
d15ae7ba57 exectue CI only when selected files are modified
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
2026-03-15 12:05:30 +01:00
andrea
1337269d32 updated README.md with CI actions badge and license bade
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
2026-03-15 12:02:14 +01:00
andrea
69386ba4da added CI build test also for mac and windows
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
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
Some checks failed
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
andrea
abc381f397 image preview 2026-03-15 10:44:18 +01:00
andrea
5ebf74e044 more detailed README.md 2026-03-15 10:43:35 +01:00
andrea
486ee4df97 gradually increase ball speed if noone scores
when someone scores a point, speed is resetted to the initial speed
2026-03-15 10:05:03 +01:00
andrea
b9bc138cad small refactoring to keep code more cleaning
and fixed a crash when the ball goes out of matrix
in any case now move_ball() function, now prevents
the ball to goes out, if ball coordinates
are out of the matrix, ball restarts from initial position
without assigning any point
2026-03-15 09:39:12 +01:00
andrea
e7f0c3cc1a optimize rerender matrix, do it only if something is changed from the last render 2026-03-14 23:47:44 +01:00
andrea
fa47480aef move render_matrix() on the main loop, to get smoother players movements 2026-03-14 22:07:18 +01:00
andrea
adf2498344 players can hit the ball 2026-03-14 21:53:39 +01:00
andrea
fcafc56012 move players and ball 2026-03-14 21:37:29 +01:00
andrea
ebc6596dce move players and ball 2026-03-14 21:35:19 +01:00
andrea
f2a6a02005 define arduino_pong.ino and Makefile to compile and run software from cli 2026-03-14 20:22:06 +01:00
c00eeb2501 Initial commit 2026-03-14 19:42:18 +01:00