A simple android application developed using Kotlin based on MVVM clean architecture and some of android jetpack libraries this App is using Random word API.
- ViewModel : store and manage UI-related data in a lifecycle conscious way.
- Flow : flow is a type that can emit multiple values sequentially.
- Hilt : Hilt is a dependency injection library for Android.
- Retrofit : REST Client library . .
- coroutines : execution of async (background) tasks.
- StateFlow/SharedFlow : StateFlow and SharedFlow are Flow APIs that enable flows to optimally emit state updates and emit values to multiple consumers.
- The user can choose the game's difficulty (number of letters) ;
- The user can choose the number of attempts ;
- The user can start and play the game ;
- During the game, the user can easily distinguish between the letters they've tried and the remaining ones ;
- the user finds the word to guess, they see a simple success screen ;
- the user fails to find the word to guess, they see a simple failure screen ;
- the user can restart a new game with a new word.