This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let missile: game.LedSprite = null | |
let opponentsmissile: game.LedSprite = null | |
let score = 0 | |
let nummissles = 0 | |
let player: game.LedSprite = null | |
let switchxposition = 0 | |
input.onButtonPressed(Button.A, () => { | |
player.change(LedSpriteProperty.X, -1) | |
}) | |
radio.onDataPacketReceived( ({ receivedString: name, receivedNumber: value }) => { |