Pong Game
This is a simple multiplayer Pong game that can be played with two luma matrices connected over the same radio channel. The game is played by moving the paddles up and down to hit the ball. The first player to score 7 points wins the game.
Setup
- Open the MakeCode project Luma Pong
- Set the radio channel to a desired number (default is 8). This must be the same for both players and should be a different channel than other Luma Matrices around may be using.
- Download the same code to both Luma Matrices. Make sure to select the correct board in the MakeCode editor.
- Player 1 (host) can be selected by turning on the switch SW1 (right) on the Luma Matrix. Player 2 (guest) can be selected by turning off the switch SW1 (left) on the Luma Matrix.
- The game runs as soon as host is started.
- Button A is used to restart the game