What Ian said is totally valid. But maybe you're wanting something like this pseudo curses implementation in pygame..?
https://inventwithpython.com/pygcurse/ On Wed, Jun 17, 2020, 11:16 PM Ian Mallett <i...@geometrian.com> wrote: > This is a puzzling question to me since it's not clear what one expects. > Pygame is, after all, the Python wrapper around SDL—the Simple DirectMedia > Layer. In a text-based game, you don't really have media, so it's not > really clear to me what you'd expect pygame to do for you? By definition, > you wouldn't be blitting images or getting input from a graphics window, > which are the main features of pygame. Stuff like font rasterization, color > conversion, masking, etc. are handled for you in a terminal. I guess you > could use pygame to play music and sounds. > > One could also write a *graphics-based* program that *looks like* a > terminal but *isn't*, and write a "text-based" game that way. Pygame > would be a good choice for this, but the broader choice of reinventing the > terminal would probably be a bad choice (for being a waste of time). > > Ian >