I would think a compass was invented and developed for the proverbial dark and stormy night, especially when at sea. When i have been at the helm at night, I have used both stars and compass - pick a star that is on your bearing, and then steer by that. Just recalibrate every now and then.
_________________________
Geezer in Chief