This is an interesting mobile game in which you have to guess the word from the picture. The game works on iPhone and iPad, supports portrait and landscape device orientation.
-
Add your own word model or update an existing one City.swift
-
Set the number of lives in the model Game.swift, property
life
default value 6. -
The number of levels until the victory is set in model Game.swift, method
newRound()
, and don't forget to change the methodstateGame()
in ViewController.swift. -
Change Message Alert in file ViewController.swift methods
messageNextLevel()
,messageGameOver()
,messageGameWin()
- Swift code
- MVC
- Autolayout
- Storyboard