# Convention

## Structure rules

MAIN REASON: 
= Make it easy to get list data. easy to version control without conflict.
= Should have 2 separate files for game list and game detail.
= Game list should aim for the thing that high frequency change.
= Game detail should aim for the thing that low frequency change.

- The list game must be simple. Have only necessary data.
- Detail game data is an add-on to the game list. save in this data v2. And using record structure to save data. Example: ```Record<string, GameDetail>```
- Save in this folder: `/dataV2/games/detail.json`
- Detail game data should be save in a separate file.

## Detail game data includes:
- screenshots: save save folder as game data: ex. `/games/${uid}/screenshots/`
  - All screenshots must be tinified.


