{"version":"1.0","type":"rich","title":"Gist a89d7fc0f8e78309dd5959f6df960e0a","description":"A Connect-4 game simulation renders a 6-by-7 ASCII board where two players, X and O, alternate placing pieces. The code demonstrates game state management with functions to drop a piece into a column and check for a four-in-a-row win condition across horizontal, vertical, and diagonal directions. After each move, a `printBoard` function outputs the current grid, initially showing empty slots as asterisks and updating to display player tokens. The implementation uses plain JavaScript with no external libraries, running via the `npm run start` command, and relies on standard array operations and nested loops for board traversal.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-a89d7fc0f8e78309dd5959f6df960e0a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}