tape is the easiest method.
use 2 piece of tape, conneect them using piece of paper.
1st tape on the inside of the room, 2nd tape on the outside.
so if the door has been opened, the paper will tear.
if the door hasnt been opened, youll hear the paper tear sound