Chess Game  1.1.0
A full chess game for Unity
cgCustomBoardSettings Class Reference

This class is used for irregular boards( board != 8x8 ), to place pieces accordingly at the top and bottom of the baord. More...

Static Public Member Functions

static void AddPiecePlacement (byte width, byte height, List< sbyte >placements)
 
static List< sbyte > GetPiecePlacements (byte width, byte height)
 
static string GetKey (byte width, byte height)
 

Static Public Attributes

static Dictionary< string, List< sbyte > > PiecePlacements = new Dictionary<string, List<sbyte>>()
 All possible moves generated by MoveGenerator, stored by an identifying string using the format (piecetype)+(indexpostion) More...
 

Detailed Description

This class is used for irregular boards( board != 8x8 ), to place pieces accordingly at the top and bottom of the baord.

Member Data Documentation

◆ PiecePlacements

Dictionary<string, List<sbyte> > cgCustomBoardSettings.PiecePlacements = new Dictionary<string, List<sbyte>>()
static

All possible moves generated by MoveGenerator, stored by an identifying string using the format (piecetype)+(indexpostion)


The documentation for this class was generated from the following file: