An ios game in swift using firebase