Book/story idea: Life is a game where you have to find your soulmate

New book/story idea: Life is a bit of a game, and as a result you’re put in the vicinity of your soulmate. Not right next door per se, but somewhere within your range of life such that you will encounter this person, such as the friend of a friend, someone you work with, a person you run into at a store, etc. So the game is, out of all the people you meet as your life unfolds, can you identify your soulmate? And maybe as a secondary plot, how do you handle it if you get get close but make a mistake ... say you marry a person which creates circumstances that put you in the vicinity of your soulmate, and you later realize your mistake?