I am a beginner in c++. There is a big vacation right now.So i want to make a little console game as I have not learned any graphics
So my question is How to move a object for eg. $ this is my hero and player if player presses some key for the time being lets say if player presses (I) it should move up. if pressed K it should move down Like that The key doesn't matter
How to do it
And can I really make a console game I have learned many things in a whole year.
Can i make a snake game withought graphics i.e. if ! is my snake it can grow like !!!!!!!!!!
Using for loops and everything My basic idea is ready I just want that How to move it.
In Windows, you can use SetConsoleCursorPosition to "jump" to the position your hero currently is, then overwrite him with a space. After that you can recreate him somewhere else the same way.