Tiny Pong for micro:bit-v2. There is a code walkthrough on my website.
To flash Tiny Tetris to your micro:bit-v2, type the following from inside the directory:
tinygo build -o=/run/media/{USERNAME}/MICROBIT/flash.hex -target=microbit-v2 main.go
Currently the game is a human player against a naive computer opponent.
- Human player starts with the ball, whoever scores a point gets to launch the ball next
- Computer paddle bounds from side to side without consideration for ball location
- Game ends when either player accumulates 5 points, and point counts are displayed one row out from each player's paddle
- Computer strategy (follow ball trajectory, anticipate human location when launching ball)
- Allow human player to change direction with button input
- Mode for 2 human players (with menu to select 1 or 2 human players)
- Increase update speed over time
- Opening splash animation
- Option to play again? (maintain win count across games?)