Welcome to Nim

On your turn, remove one or two stones from any single pile. Click on a stone to remove it, and any stones above it. The player that removes the last pile of stones is the winner.