I am quite a starter in c++ but I know baisc things like functions, loops, and things like that, but I want to start a simple game, but I have no idea how to say, do something like this (if its possible)
and as the Y position increments, the player (a simple character like (char)1 or something) moves up.Code:if( /*player presses up arrow*/ ) { Ypos++; }
Whow can I do that?