Off the top of my head, PuzzleScript[0] sounds similar. There are some really good games written in it too. Although since the rules are written in text and pretty opaque, one wonders if a GUI tool to write PuzzleScript rules might make it more accessible.
[0] https://www.puzzlescript.net/