Град обреченный by Arkady Strugatsky

Set in a mysterious city where inhabitants from various times and places are brought together, the narrative follows the protagonist, Andrei Voronin, as he navigates the surreal and often perilous environment. The city, governed by enigmatic forces, serves as a grand experiment testing the limits of human adaptability and morality. As Andrei grapples with the city's bizarre rules and the shifting realities around him, he embarks on a journey of self-discovery, confronting existential questions and the essence of human nature amidst chaos and uncertainty.