Skip to content

Add ls20 env - #625

Open
mahiuchun wants to merge 2 commits into
PufferAI:4.0from
mahiuchun:ls20
Open

Add ls20 env#625
mahiuchun wants to merge 2 commits into
PufferAI:4.0from
mahiuchun:ls20

Conversation

@mahiuchun

Copy link
Copy Markdown

A port of https://arcprize.org/tasks/ls20 probably the most well known public game in ARC-AGI-3

I did it using codex and gpt-5.6-sol asking it to translate the python version of the game; I think the code quality is okay.
Animation frames that can't be acted upon are not included right now.

I added some quality of life improvements:

  • --env.fps as I find the default 30 FPS (from Python version) a bit too fast
  • --env.reset-enabled (default off) as the RESET action can be confusing for the RL algorithm or make it look like the random agent never loses a life (since it would hit RESET all the time)
  • --demo in the main function showing a winning sequence. Otherwise the main function is manual play
Screenshot from 2026-08-01 23-16-18

I tried training as well.
So far the best I can get is clearing the very first level.

This game is essentially a maze with twists so it might provide some research value as well.
It is not the hardest game in ARC-AGI-3 for RL algorithms as the action space is small (4 arrow keys + optional RESET); games where the action space is clicking anywhere in the 64x64 canvas is even harder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant