{"version":"1.0","type":"rich","title":"PICO-8 Starter LUA code (save this as starter.p8)","description":"This example shows a minimal PICO-8 game state machine with menu, game, and end states, driven by button input. The code defines `_init`, `_update`, and `_draw` callbacks to switch between states, run a countdown timer, and render text via `print` and a black background with `rectfill`. It uses PICO-8’s built-in `btnp` for button presses and Lua’s arithmetic operators for the timer decrement. The visible rendering approach is simple immediate-mode drawing without external libraries or data sources.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-161575bb3d4ce1f9baea4245e87ad32f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}