I'd like to have the game interpret a value of red 255 as "1", and put in every corresponding cell where the pixel is 255 red, "1."
I believe this requires parsing pixel content.
Develop games in your browser. Powerful, performant & highly capable.