FinolDigital.Cgs.CardGameDef 1.4.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package FinolDigital.Cgs.CardGameDef --version 1.4.1                
NuGet\Install-Package FinolDigital.Cgs.CardGameDef -Version 1.4.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FinolDigital.Cgs.CardGameDef" Version="1.4.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FinolDigital.Cgs.CardGameDef --version 1.4.1                
#r "nuget: FinolDigital.Cgs.CardGameDef, 1.4.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FinolDigital.Cgs.CardGameDef as a Cake Addin
#addin nuget:?package=FinolDigital.Cgs.CardGameDef&version=1.4.1

// Install FinolDigital.Cgs.CardGameDef as a Cake Tool
#tool nuget:?package=FinolDigital.Cgs.CardGameDef&version=1.4.1                

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>
        • ...
      • ...

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.8.0 91 10/8/2024
1.7.1 120 8/24/2024
1.7.0 103 8/1/2024
1.6.0 91 7/12/2024
1.5.0 106 6/20/2024
1.4.1 234 2/21/2024
1.3.0 585 10/24/2023
1.2.0 445 9/28/2023
1.1.0 597 7/22/2023
1.0.2 645 4/25/2023
1.0.1 674 3/11/2023
1.0.0 638 3/6/2023

Card Game Simulator (CGS) custom card game specification