This is the game of Nim. It has 3 rows of different objects. On your turn, you can take any number of objects from any single row. After doing so, the next player takes their turn in a similar way. Whoever takes the last object wins!