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.
Recent Comments
2019/7/6
vishwa's game
2019/5/14
PongGame