A Pong clone for desktop browsers. I created it during a 2h beginners lesson I gave. For this reason it is kept simple, classless and vanilla. This game adds 2D physics to the original one.
Live demo: https://inkin.ru/download/software/tennis-js/tennis.html
Download the files and open tennis.html in any browser.
- Blue Player: Keyboard arrows.
- Red Player: A, D, W, S.
- If you want to pause the game, that would be a coding exercise to you.