Which language you use doesn't really matter, for the most part. You will certainly want access to some rendering and audio, so that's about your only limitation, and most all languages will give you access to graphics and audio through a variety of different options. Even if you want to stick with text, you will likely use 2D rendering to draw pictures of text, instead of actually using only a real text terminal.
Personally I always recommend newcomers to use something like Love2D, gamemaker, or just plain C with the SDL2 library. The reason I recommend these options is that there's a huge number of people online willing to help and answer specific questions for these three. Personally I view the availability of people to help as the most important thing for a newcomer.
The Love2D forums are always quite active and the people are pretty nice. Just be sure to let them know you're really new and looking for some places to start. The idea of Love2D is it's a bunch of code someone else wrote that you can use to write a game with the Lua programming language.
https://love2d.org/forums/