what i want to do, is to rotate the polygon, but it seems it doesn't work if I make these movements:

RIGHT RIGHT RIGHT RIGHT RIGHT UP LEFT

of course, use arrow keys to move the polygon, can you tell me what's wrong??

ESC will quit the program