Write a program to move a character around on the screen in response to user key-presses (you’ll have to decide which keys to use for up, down, left and right - combinations like t b f and h work well: or if you’re more ambitious you could find out the ASCII codes for the arrow keys). Use the CursorController class to paint it at the new position each time, not forgetting to erase its previous location first (by printing a space). The program should terminate when the user presses the x key.
Can anyone help me with this? I tried this with a code I made but it got wiped out and I don't know where to start as I spent so long on it.