arrow keys or w a s d to move collect the black diamonds to keep the line black if it turns white or you touch the edge you lose
this was meant to be a quick project but it turned out to be quite complicated