Choose your own adventure type game questions

Hi, I’m a writer and I don’t know anything about game development. I’ve been thinking about making a choose your own adventure type text based game with some “complex” elements like health and damage system, inventory and a shop etc. How do you think I should start? Are there any tutorials and tools that would help? Any help would be great for a complete beginner.