and the sign is false, then this doesn't mean there's something in BOTH rooms, if either room would contain something the sign would still qualify as a lie!
I still stick to my room 7 solution. Bring on the princess and the tigers!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
The savant part of the my brain said room 7, though I'm not about to confuse myself and try to work it out.
Skylt 2 är fel och rum 8 är tomt.
Shouldn't Room 6 read
6. Sign 2 is in the wrong place And Room 8 is empty.
instead of
6. Sign 2 is false and room 8 is empty.
might make a bit of a difference to applying the logic
On each of the eight doors there was a sign. The sign on the door of the princess was true, while the signs on the doors of the tigers were false. The signs on the empty rooms were either true or false.
1. Room 4 is Not empty.
2. Sign 5 is Right And the princess is Not in this room.
3. Rooms 2 And 7 are Not empty.
4. Room 1 is Not empty.
5. Sign 6 is Right.
6. Sign 2 is in the wrong place And Room 8 is empty.
7. The Princess is in a room with an odd number
8. This room contains a tiger And Sign 3 is wrong.