Triangles movement controlled by keyboard input