Nicole played cards with her brother. She won 6 times as many games as she lost. Nicole won 18 games. If there were no ties, how many games did Nicole play?