Try this:
TestTiles.blend (1.5 MB)
The result with included texture:
There is an output socket ready if you really want only random 90° rotation.
I didn’t include hdr. I also suggest replacing texture with a high res modern one.
Try this:
TestTiles.blend (1.5 MB)
The result with included texture: