⚠So far, only for 2 players desktop gameplay (⚆_⚆)
You can play here: https://buninman.github.io/Pong/
Code analysis with detailed explanations here: https://blog.buninman.ru/pong or here: https://habr.com/ru/post/697870/
- New design of the playing field
- New ball strike counter
- The ball picks up speed with each hit
- Platforms can hit the ball with an edge
- Starting timer and random direction for the ball
- The ball no longer gets stuck in the platforms
- The score is always displayed correctly, in its place
- The ball never flies 45°. Does not get hung up on one path.
- All settings in one JS file
- The code has become simpler
âš To work, you need an http-server. I used Live Server Extension in Visual Studio Code
New Pong on display 1972🕹