notstoe / flaggy-rn

1 stars 0 forks source link

Domain modelling #7

Open pklepa opened 2 days ago

pklepa commented 2 days ago

Description

We need to draft a general Domain modelling for the game design.

Ideally, the outcome of this story is to have a high level definition of all the game's entities and data flow drafted as a decision chart.

Data Reference

JSON object containing all the supported countries with:

Game State

pklepa commented 9 hours ago

@notstoe @gvituri, please take a look at the FigJam drawings containing the current definitions for:

For brevity, here's a couple of stills from the current domain modelling: Image

Image

Image

notstoe commented 7 hours ago

Seems good, I think everything we need is there.

We should add a highscore local var that will be updated on game over? So when the app is closed, at least that will persist for now.

We'll probably use this library for that: mmkv

And for handling game state locally, we can use zustand? zustand

gvituri commented 5 hours ago

Looks good to me!

Here are the changes I've included: