- Paper work, inital breakdown, and boundries for VIP : 30min
- Test started : Inital github setup, and initial vip architecture using the template - 1 hour
- Data models, Interactor flow and words read from file and a small test case for worker - 1 hour
- Simple game board Design - 1 Hour
- GamePlay, winner and test cases - 2.5 hours
Total time = 6 hours
This demo is made using VIP architecture. I tried to focus more on Architecture and data flow, rather than the UI I wanted to showcase my clean coding/architecture skills. Few test case are also writter to demonstrate how it can be done in VIP architecutre.
We can write test for boundry methods, boundry methods are those which are declared in the protocols. To test those methods, we'll to mock the next VIP iteration boundry methods, which is very straight forward as those are just protocols. We can use Spying to test those mocks. For demonstration purpose I did only one.
- Mainly UI and animations
- Time out if no one answers.
- Animation delay for win or lose for states