Wythoff's game of Nim

Instructions: each player will choose one or both piles and a number of mathces to be taken from the pile (you must take at least one match-stick). If both piles were chosen the numbers of matches removed from each pile must be equal.
How to win? be the player who takes the last match from the last pile!

Pile A

matches

Both Piles

matches

Pile B

matches