Flutter-Buddies / tic_tac_no

Complex variants of tic-tac-toe game
MIT License
19 stars 10 forks source link

settings State #6

Closed slovnicki closed 3 years ago

slovnicki commented 4 years ago

decide which state management to use and implement it. Game BLoC needs access to the Settings' state

slovnicki commented 4 years ago

probably just do it with shared_preferences

slovnicki commented 3 years ago

I'll make the storing of players' pieces, colors and AI type into shared_preferences and load them into GameBloc upon game start. Also, update the Player model to take piece and color in place of current symbol property, so the pieces are drawn on a board.

I'll try to get it done over the weekend.

slovnicki commented 3 years ago

ok, we didn't use shared_preferences and are loading the game state directly from the menu. This is done now