Fog of war: underground is black until the bot has seen it (t8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ with sync_playwright() as p:
|
||||
pg.on('console', lambda m: logs.append(f'{m.type}: {m.text}'))
|
||||
pg.on('pageerror', lambda e: logs.append(f'PAGEERROR: {e}'))
|
||||
pg.goto(url)
|
||||
pg.evaluate("SET.fog = false")
|
||||
pg.wait_for_timeout(800)
|
||||
pg.screenshot(path=str(out / '01-title.png'))
|
||||
pg.click('#btn-new')
|
||||
|
||||
Reference in New Issue
Block a user