Arrow keys or WASD to move. You can also click next to the player on mobile. The square that the player lands on is flipped. Turning the grid any solid white/black will work. Press space for another puzzle. Pointlessly hard & annoying