This movie is about man who is trapped in a room with a mini screen that shows questions and two buttons (Yes and No).
His wife is also trapped in another room with nothing but a projector.
The man was asked questions like (would you like to show your wife a video of you cheating for her to have a glass of water?) then he picks yes and his wife gets shown a video of her husband cheating and a glass of water. the movie had different questions based on his unethical lifestyle.
In the end the guy wakes up in a beach.
True Love (2012)
https://www.imdb.com/title/tt1927172/