https://makecode.microbit.org/S40302-56457-00548-42548
After 1-4 hours, it’s here. Yup it actually works!
How to play
Click the a or b buttons to move the paddle.
Then, when your done choosing, click the a and b button to launch the ball up to the blocks.
Repeat the instructions until you break the last block.
3 Likes
the game has been updated, with an 2nd layer of blocks, fixed the score from being 0 and a tidier interface for the project.
Play the updated version here!
Ping pong v1.1
2 Likes
Nice update, my score is 10 now! 
One bug I found is that if you move the paddle left and right while the ball is moving, the ball will also move left and right.
Update v1.1.1
Fixed a bug that @randomuser sayed
So, i fixed it in the newest version but there’s 2 new bugs,
- No cooldown i think
- ball stays at y5 because of some line of code.
Here it is!
Also, I renamed it to “Block Breaker” because of
This
Omg I can’t believe I did this!
okay I need to stop showing spoilers i just... CAN'T refuse to!!1!!1
1 Like
GREAT update, thank you for fixing the bug I was having!! 
Interestingly, I’m not getting either of the two new bugs (The cooldown is fine for me, and the ball bounces as it should)
I’m intrigued… how is it going to be both a brick breaker and pong in one!? 
1 Like
Nope it’s sperate. (may do a bundle for both!)
1 Like
This game is really cool!
1 Like
Oh yeah, the bugs I got them
I have to used GIF because MakeCode won’t allow me to.
Bug #1:

Bug #2:

1 Like
Wow 50 clicks! i gonna make a new update soon!
guys what update should i make because i ran out of ideas.
okay now i have an idea now, but i need to optimize the code, which we have to do with arrays.
1 Like
Oof best of luck, that can be difficult but worthwhile! LMK if you need help! 
1 Like
Update V1.2
The code is now optimized! but with that now there’s a bug,
- blocks don’t break, even tho i tried everything
Nope done! the only problem is i can’t break the blocks and guess what? i tried removing the value and deleting the sprite but it doesn’t work.
1 Like
Hmm…
If you mean that you have a sprite as part of an array of sprites, then the way I’d delete them is by using the destroy(sprite) block on that value in the array and then removing it from the array.
1 Like