neoneye / ARC-Interactive

Enjoy puzzle-solving directly in your browser.
https://neoneye.github.io/arc/
MIT License
18 stars 2 forks source link

Editor palette: map key 0-9 to color 0-9 #62

Closed neoneye closed 5 months ago

neoneye commented 5 months ago

Problem

Keybindings for picking color has been requested.

The black color has value 0 in the ARC dataset. In the palette the black color is shown in the left side.

On a computer keyboard, the left most key is 1.

Screenshot 2024-04-23 at 18 08 21

Solution

Move the black color from the left side to the right side of the palette.

Preserve the same color value as the key values.

Press the 0 key, and the black color is selected.

Press the 1 key, and the blue color is selected.

neoneye commented 5 months ago

I have decided to keep the black color in the left side of the palette. So the colors appear the same way as in other ARC tools.

Now the 0 key picks the black color, and so on for the other digits.