{"version":"1.0","type":"rich","title":"The (Ping) Pong Game","description":"The (Ping) Pong Game is a two-player arcade game rendered on a 300x300 HTML5 Canvas, where a ball bounces between a top paddle and a mouse-controlled bottom paddle. The simulation tracks collisions between the ball and paddle edges, adjusting the ball’s angle and speed upon edge hits, and increments scores until one player reaches 10 points. The code uses the Canvas API for drawing, JavaScript classes for game entities (GameView, Paddle, Ball, Play), and mouse event listeners for input. This example, based on the book *JavaScript Crash Course*, demonstrates interactive collision detection and score tracking in a minimal, browser-based setup.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/966f246e8d2b45ccaf84a5adccafda33?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}