Skip to main content
Here’s a minimal example that plays a game and renders it in the terminal:
This example uses render_mode="terminal" to display the game in your terminal. If the game appears wrapped or distorted, try enlarging your terminal window or zooming out (Cmd/Ctrl + minus). For other rendering options, see Render Games.