FinolDigital.Cgs.CardGameDef
1.0.2
Prefix Reserved
See the version list below for details.
dotnet add package FinolDigital.Cgs.CardGameDef --version 1.0.2
NuGet\Install-Package FinolDigital.Cgs.CardGameDef -Version 1.0.2
<PackageReference Include="FinolDigital.Cgs.CardGameDef" Version="1.0.2" />
paket add FinolDigital.Cgs.CardGameDef --version 1.0.2
#r "nuget: FinolDigital.Cgs.CardGameDef, 1.0.2"
// Install FinolDigital.Cgs.CardGameDef as a Cake Addin #addin nuget:?package=FinolDigital.Cgs.CardGameDef&version=1.0.2 // Install FinolDigital.Cgs.CardGameDef as a Cake Tool #tool nuget:?package=FinolDigital.Cgs.CardGameDef&version=1.0.2
Card Game Simulator - Custom Card Game
The Specification
A custom card game in CGS follows the FinolDigital.Cgs.CardGameDef
specification.
This specification primarily includes information on sets of cards and a definition of what properties those cards have.
Ancillary information can include decks and boards to use with the game.
See below for the full specification.
CGS games directory
Custom games are created with 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/Containers/com.finoldigital.CardGameSimulator/Data/Library/Application Support/com.finoldigital.CardGameSimulator/games
- Windows (Steam): C:\Users\<user>\AppData\LocalLow\Finol Digital LLC\Card Game Simulator\games
- Windows UWP (Microsoft Store): C:\Users\<user >\AppData\Local\Packages\FinolDigitalLLC.CardGameSimulator_499qk536pdy94\LocalState\games
Custom game folder structure
The structure of this custom game folder is:
- Game:Id/
- Game:Name.json
- AllCards.json
- AllDecks.json
- AllSets.json
- Banner.<bannerImageFileType>
- CardBack.<cardBackImageFileType>
- PlayMat.<playMatImageFileType>
- boards/
- GameBoard:Id.<gameBoardFileType>
- ...
- decks/
- Deck:Name.<deckFileType>
- ...
- sets/
- Set:Code/
- Card:Id.<cardImageFileType>
- ...
- ...
- Set:Code/
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 CardGameDef.json file.
You can create your own json and validate against these schema:
Examples
The default examples can be found in the CGS GitHub Repository. Further examples can be found in the CGS Google Drive folder.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Card Game Simulator (CGS) custom card game specification