Mobile interview exercise
The app offers a 20 trivia questions game, 10 questions per player. The players can introduce their nicknames at the first screen, and after clicking the "Play" button at the same screen the game will be started. The second screen shows both nicknames with each one score, indicates the nickname of who has to play and a question with multiply choice. A feedback will show after choosing the answer, and when the game will be finished another feedback will show indicating the name of the winner with the posibility of remach.
The app was developed using MVP (Model View Presenter) architecture. While the trivia questions hasvebeen extracted from Trivia API.
Moya library was used for the network layer.
- iOS 13.3
- Xcode 11.3
- Swift 5.0
$ git clone https://github.com/anansadiya94/TriviaGame.git
$ cd TriviaGame
$ open TriviaGame.xcodeproj
Xcode will be opened, run the app using your iPhone or your favorite simulator and enjoy it :)
Anan Sadiya – [email protected]