This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

giovanni presents ...



used the left and right arrows to control paddle 1 and "a" and "d" to control paddle2

381 views / 3 in the last 7 days

Tags: game kratzberg_spring2019

Your browser does not support the canvas tag.


It's probably more logical to have the up and down arrow as inputs for one player and the other player have keys such as 'w' and 's'. Collision detection needs some work. There are many different collision detection algorithms that you can look up on the internet for reference.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.