In this case I'd rather suggest generic game authoring tools like Gdevelop, Construct, or Godot for a game like this. It is child's play in a visual game authoring environment such as Gdevelop to implement. Additional features like an inventory and clickable elements, etc. are easily added later.
At its core a game like the one the OP has in mind is basically a set of screens that are linked with invisible buttons.
The above tools also make it easy to export directly to a web project for sharing with others.
At its core a game like the one the OP has in mind is basically a set of screens that are linked with invisible buttons.
The above tools also make it easy to export directly to a web project for sharing with others.