Both examples are finished - as shown by the 4 green lights at bottom of the last column with entries.
The aim of the puzzle is to place 4 colors from the very top bar on the column below.
You are given 10 chances (columns) to place the correct color at the correct slot.
The box below the column has 4 lights. It will show the result of the balls placed on the column above it.
If green - one ball is the correct color and is placed in the correct slot.
If orange - the ball is the correct color but placed in the wrong slot.
If black - wrong color.
I looked for the correct color first by using one color at a time and worked on placing the correct colors found in the correct slot as I go along the columns.

See column 1 at left. I placed 4 blue balls. The result below showed that ONE of those 4 blue balls is the correct color at the correct place.
Column 2 - I then started moving one blue ball and checking another color (pink) to see if it is the correct. As shown by the lights below - pink is wrong color and the solitary blue I positioned is in the wrong slot.
Column 3 - I check green now and moved the blue ball to another slot. The lights below showed that I correctly placed the blue ball and one of the green balls is in the correct slot and is one of the correct colors.
Column 4 - I now kept the blue ball where it is correctly placed; worked on finding which green ball is correct and also check the light blue ball. The light blue ball is not one of the correct color and I placed the green ball correctly. That's 2 down.
Column 5 - checked the red ball with blue and green correctly placed) The red ball is not correct color.
Column 6 - Check purple and orange this time. Both colors are correct but wrongly placed.
Column 7 - placed all correct colors at correct slots.