package Ġspace . nab oo . memory . di Ċ Ċ import Ġorg . k oin . dsl . module . Module Ċ import Ġorg . k oin . dsl . module . application Context Ċ import Ġspace . nab oo . memory . R Ċ import Ġspace . nab oo . memory . di . Params . GAME _ VIEW Ċ import Ġspace . nab oo . memory . game . Game Contract Ċ import Ġspace . nab oo . memory . game . Game Presenter Impl Ċ import Ġspace . nab oo . memory . image . Resource Image Spec Ċ import Ġspace . nab oo . memory . logger . Android Logger Ċ import Ġspace . nab oo . memory . logger . Logger Ċ import Ġspace . nab oo . memory . models . Board Size Ċ import Ġspace . nab oo . memory . models . Resource Board Size Ċ import Ġspace . nab oo . memory . models . images . Image Loader Ċ import Ġspace . nab oo . memory . models . images . Image Loader Impl Ċ import Ġspace . nab oo . memory . models . inter actors . Game Interactor Ċ import Ġspace . nab oo . memory . models . inter actors . Game Interactor Impl Ċ import Ġspace . nab oo . memory . models . repositories . Images Repository Ċ import Ġspace . nab oo . memory . models . repositories . Images Repository Impl Ċ import Ġspace . nab oo . memory . serializer . GameState Serializer Ċ import Ġspace . nab oo . memory . serializer . State Serializer Ċ import Ġspace . nab oo . memory . serializer . Storage Ċ import Ġspace . nab oo . memory . states . GameState Ċ Ċ val Ġgame Module : ĠModule Ġ= Ġapplication Context Ġ{ ĊĠĠĠ Ġval Ġback Image Ġ= ĠResource Image Spec ( R . drawable . ic _ card _ back ) ĊĊĠĠĠ Ġfactory Ġ{ Ġparams Ġ-> ĠGame Presenter Impl ( params [ GAME _ VIEW ], ĊĠĠĠĠĠĠĠĠĠĠĠ Ġback Image , Ġget (), Ġget (), Ġget (), Ġget ()) Ġas ĠGame Contract . Presenter Ġ} ĊĊĠĠĠ Ġfactory Ġ{ ĠGame Interactor Impl ( get (), Ġget ()) Ġas ĠGame Interactor Ġ} ĊĠĠĠ Ġfactory Ġ{ ĠImage Loader Impl ( get ()) Ġas ĠImage Loader Ġ} ĊĊĠĠĠ Ġfactory Ġ{ ĠGameState Serializer ( get (), Ġback Image ) Ġas ĠState Serializer < GameState , ĠStorage > Ġ} ĊĊĠĠĠ Ġfactory Ġ{ ĠResource Board Size ( get ()) Ġas ĠBoard Size Ġ} ĊĊĠĠĠ Ġfactory Ġ{ ĠImages Repository Impl ( get ()) Ġas ĠImages Repository Ġ} ĊĊĠĠĠ Ġbean Ġ{ ĠAndroid Logger () Ġas ĠLogger Ġ} Ċ } Ċ Ċ object ĠParams Ġ{ ĊĠĠĠ Ġconst Ġval ĠGAME _ VIEW Ġ= Ġ" GAME _ VIEW " Ċ } Ċ