Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function awesomePlay() {
- const ballAngle = getBallAngle()
- if (ballAngle + 6 > arc[0] && ballAngle - 6 < arc[1]) {
- score++;
- compose(setArc, animateBall, scoreField)();
- }
- setTimeout(awesomePlay, 1)
- })()
Add Comment
Please, Sign In to add comment