tribal-relations / client

0 stars 0 forks source link

make correct and valid game initialization #167

Open gennadyterekhov opened 5 months ago

gennadyterekhov commented 5 months ago

singletons must not have state or any properties
so, the CurrentGame or SpecificGame cannot be singletons
they are data, so they must be dto
need to think how this can be done

gennadyterekhov commented 5 months ago

or maybe dont change anything in app
only initialize in tests

gennadyterekhov commented 1 month ago

hmmm , maybe whole dto idea was good for backend because it only processes requests
but this app is real time

gennadyterekhov commented 1 month ago

tests must use valid paths to change game instance
there should not be a possibility to circumvent natural mechanics