Move the mouse to move the paintbrush, the up- and down-arrow keys stop and start painting, and the left- and right-arrow keys change the color of the brush color.
I had the project idea by myself.