You might want to check out ChoiceScript or Twine, as they're both well supported engines with beginner friendly guides. I use Ren'Py, which isn't really designed for purely text games, but can be bullied into it with some creative coding. I did a short tutorial/example of how that looks here, if that's at all helpful.