The numbers game

Selects pairs of numbers that are identical or whose sum is equal to 10. Try to clear the whole pattern to win the game.
Enjoy!

You win!