I faced an issue with setting up the UI tests, if I had more time maybe I could've made it work
I spent totally around 8 hours developing the game and writing the unit tests.
i spent about 1 hour setting up the App archeticture and 1 hour making the UI and 2 hours coming up with the logic for coming with the challenges.
Also spent about 2 hours for the viewModels and state management and then i had a functioning game. the rest of the time is spent on unit testing and failed attempts to setup the UI tests.
Once you press Start button you'll be moved to the gaming screen where you will see the english word still and the spanish word moving.
In the top left corner you will see the timer going (10 seconds) and next to it your high score and beneath them your current score.
Down the screen you will see two buttons. Correct, you press it when the spanish word is the correct translation for the english word.
The incorrect button, you press it when the spanish word is not the correct translation for the english word.
You will lose either by choosing wrongly or by the time given to you ending.
With more time i could make it a multi-language game and possibly add levels
I could've also added sound effects to it
Used RxJava
Used Dagger
Used JetPack components
Used retrofit for networking
Used mockitokotlin2 alongside with JUnit for unit testing
Used MVVM