I speak from experience when I say if you start by writing the engine then you will quickly become side-tracked with technical issues and never get your game done.
I can recommend ink if you want a choice-based game. It is super easy to get started and the language lends itself to extension if you find it doesn't do what you need out of the box.
Very cool coincidence to see this on the front page right after a sesh with the game.