"Where can I find a PDF or something with the cases or how it works?"
I believe it works in a way which is being described in a parity problem article (see section A parity problem of chosen combinatorial puzzles).
Algorithms/documentation can be found elsewhere, link 2.
Edit: too (a few seconds, I guess) late
I believe it works in a way which is being described in a parity problem article (see section A parity problem of chosen combinatorial puzzles).
Algorithms/documentation can be found elsewhere, link 2.
Edit: too (a few seconds, I guess) late