All temple-crossing games