"optimal conditions for a sacrifice" is a short (5k words) girls love visual novel. It features only a single linear route and one romanceable character, but there is an simple repeating puzzle you have to solve to get to the "true ending".
It is LGBTQ+ dark comedy fairytale