Commit Graph

72 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
v1.1.1
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 d65e7ef1c8 fix delay on level difficulty choice 2026-03-21 12:20:06 +01:00
andrea 8c402ff13a return to main menu after game finishes
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.1.0
2026-03-21 12:16:07 +01:00
andrea d544867269 return to main menu after game finishes
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.6
2026-03-21 12:12:39 +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 7f63ae9a31 Revert "allow user choose between game modes, pvp, pvc, cvc"
i need to test it

This reverts commit a6c218061d.
2026-03-19 23:51:45 +01:00
andrea a6c218061d allow user choose between game modes, pvp, pvc, cvc 2026-03-19 23:28:34 +01:00
andrea 8e5fe2143c random shift ball vertical position after score 2026-03-19 22:32:01 +01:00
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