@dingotush really gives a pretty good summary of options, i’d add if your going for simple text games command line c++ games are pretty easy to make, which is where i started.
+1 vote for Ren’Py if your going for very simple visual novel style text based game, or even some more complicated games, examples of different Ren’Py games here on the forum my game Project Bob, The Weighting Game by @Tiggerto, and Worshippers of the Gain by @WOTGDEV.