An old wip/game?

I recall playing this game a long time ago where you were some sort of officer person and assigned to guard a lighthouse or tower or something and along the way you had the chance to invent the telegraph with mirrors? You also got challenged to a duel for refusing to drink with someone? If someone knows what game this is, I’d really appreciate a name or link to it. Thanks!

I remember that one, can’t recall the name. but I do remember it. it had like right and left light signals.