White tile game in Swift