georgeaf99 / CardGameApp

A card game application for Android
2 stars 0 forks source link

Game is not ended when the host exits #2

Open georgeaf99 opened 9 years ago

georgeaf99 commented 9 years ago

When the host goes back to the home page and starts a new game, the old game is never ended and in fact the data persists into the next game.

This can be fixed by:

NOTE: all of this needs to be done according to the activity lifecycle, however make sure the state is only reset when going backwards (i.e. out of the game)

georgeaf99 commented 9 years ago

Fixed the issue for the 'server' device; however, work is left to be done for the client.