Guess the number is a simple number-guessing game for iOS
- Game includes two rounds: in first round computer tries to guess user number in range 1...100, in second round they change their roles
- App consists of 4 screens
- Computer is guessing number by simple binary-search algorythm
Start Screen | Round One First Screen | Round One Second Screen | Round Two Screen |
---|---|---|---|
- UIKit
- Snapkit
- MVP with Coordinator and Builder
- Unit testing
- UI was build programmatically with Snapkit
- UI elements have animations
- Text fields include validation: number should contain only three digits and should be in range of 1...100
- App screens background was made with UIColor pattern which was drawn in UIGraphicsContext
- Used custom buttons and textFields
- Project includes Unit tests for Builder, Coordinator and Game engine itself
- For modularity and testability, the project implements dependency injection (DI)d based on protocols