fixes #31 allows to run the game in the newest xcode beta

This can be written better in new Swift syntax. 

'name ?? "unnamed"'