Reputation: 18552
I want to make a rogue-like game for my assignment. I need something to let me handle the x and y pixels on the terminal screen as well as key events, so I can control my character. Also, will it be able to repaint a region of a terminal only? i.e. I don't want to repaint the terminal every time I move my character because it would create blinking effect. I just want to repaint the previous position and the next position of my character.
Edit: I want to program it in C++ under Linux.
Upvotes: 3
Views: 1687
Reputation: 208353
If your target is a command line application in a linux environment programmed with C++, I would suggest that you take a look at the ncurses library.
Upvotes: 10