Skip to content

slomanojlo/skocko

Repository files navigation

Skočko

Mastermind game

Overview

This is an Android mobile app project that:

  • showcases Mastermind game
  • uses MVVM architecture
  • is inspired by a popular Serbian Mastermind variant (Skočko or Jumpy) from the TV Show Slagalica

Architecture

  • Model layer is in charge of storing and accessing data
  • RoomDB + Dao + Entities were implemented on the top of SQLite
  • GameRepository is an abstraction in charge of empowering the separation of concerns
  • GameViewModel is the core of the app which interacts both with the UI and the Data layer
  • GameActivity is as lightweight as possible
  • GameFragment is in charge of binding data and xml and passing events to GameViewModel
  • UI and Unit test cases were implemented to prove app behaves properly
  • Skočko app adapts well to edge cases like and supports screen rotation

Potential Enhancements

  • add statistics
  • increase the No of tests
  • add more error handling
  • add a timer
  • implement difficulty levels
  • test on multiple devices (tested on Samsung A10 and Pixel 2)

Other

  • Kudos to Mañana for designing Skočko, Bear and Piggy icons!
  • Kotlin and MVVM knowledge base: Codelabs

About

Mastermind game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages