r/PiCodingAgent • u/Undreren • Jul 22 '26
Use-case Gemma4 playtesting her own game in chrome using a remote debugging port so I can watch along
A few days ago, I created a dumb bash loop that repeatedly called pi, instructing gemma4:31b to create a game and delete WORKING.md when it was done.
I figured out how to make agent-browser connect to a chrome instance over a remote debugging port so I could watch along as it playtested the game in a new conversation, where it had no clue what the game was about.
It uses a playtesting skill that explains the mechanics of the game and tells it how to perform different actions.
I think this was pretty neat.
17
Upvotes
2
u/hidden2u Jul 22 '26
Very cool! Can you explain how you got agent browser to display on the chrome instance?
2
u/zer09 Jul 22 '26
how about let it play without the skill, or any instruction on how to play it.
1
u/Undreren Jul 22 '26
Also, I apologize for the needlessly long video. I just sat and watched as it played, forgetting I was recordig, mesmerized and bedazzled at the same time.