Defining Custom Games
Card Game Simulator allows users to download custom card games to use within the application.
CGS games directory
Custom games are defined by creating a new folder within the persistent games data directory. The location of this persistent data directory varies depending on platform. Some examples include:
- Android: /Data/Data/com.finoldigital.cardgamesim/files/games/
- Mac: ~/Library/Application Support/Finol Digital LLC/Card Game Simulator/games/
- Windows: C:\Users\<user >\AppData\Local\Packages\FinolDigitalLLC.CardGameSimulator_499qk536pdy94\LocalState\games
Custom game folder structure
The structure of this custom game folder is:
JSON File Structure
The GGS AutoUpdate Url that is used to download a card game is actually a pointer to the Game:Name.json file. CGS generates the rest of the folder structure based off that file.
You can create your own json and validate against these schema:
Functional examples can be found in the CGS Google Drive folder.