{"chess": { "teams": { "white": { "pieces": { "pawn": { "text": "p", "direction": "1n" }, "rook": { "text": "r", "direction": "nsew" }, "bishop": { "text": "b", "direction": "d" }, "knight": { "text": "t", "direction_ad_1": "2n1e", "direction_ad_2": "2n1w", "direction_ad_3": "2s1e", "direction_ad_4": "2s1e", "direction_ad_5": "2e1n", "direction_ad_6": "2e1s", "direction_ad_7": "2w1n", "direction_ad_8": "2w1s" }, "king": { "text": "k", "direction": "1a" }, "queen": { "text": "q", "direction": "a" } } }, "black": { "pieces": { "pawn": { "text": "P", "direction": "1s" }, "rook": { "text": "R", "direction": "nsew" }, "bishop": { "text": "B", "direction": "d" }, "knight": { "text": "T", "direction_ad_1": "2n1e", "direction_ad_2": "2n1w", "direction_ad_3": "2s1e", "direction_ad_4": "2s1e", "direction_ad_5": "2e1n", "direction_ad_6": "2e1s", "direction_ad_7": "2w1n", "direction_ad_8": "2w1s" }, "king": { "text": "K", "direction": "1a" }, "queen": { "text": "Q", "direction": "a" } } } }, "board": { "height": 8, "width": 8, "pieces": { "8,2": { "team": "white", "piece": "pawn" }, "7,2": { "team": "white", "piece": "pawn" }, "6,2": { "team": "white", "piece": "pawn" }, "5,2": { "team": "white", "piece": "pawn" }, "4,2": { "team": "white", "piece": "pawn" }, "3,2": { "team": "white", "piece": "pawn" }, "2,2": { "team": "white", "piece": "pawn" }, "1,2": { "team": "white", "piece": "pawn" }, "8,7": { "team": "black", "piece": "pawn" }, "7,7": { "team": "black", "piece": "pawn" }, "6,7": { "team": "black", "piece": "pawn" }, "5,7": { "team": "black", "piece": "pawn" }, "4,7": { "team": "black", "piece": "pawn" }, "3,7": { "team": "black", "piece": "pawn" }, "2,7": { "team": "black", "piece": "pawn" }, "1,7": { "team": "black", "piece": "pawn" }, "8,1": { "team": "white", "piece": "rook" }, "1,1": { "team": "white", "piece": "rook" }, "8,8": { "team": "black", "piece": "rook" }, "1,8": { "team": "black", "piece": "rook" }, "6,1": { "team": "white", "piece": "bishop" }, "3,1": { "team": "white", "piece": "bishop" }, "6,8": { "team": "black", "piece": "bishop" }, "3,8": { "team": "black", "piece": "bishop" }, "7,1": { "team": "white", "piece": "knight" }, "2,1": { "team": "white", "piece": "knight" }, "7,8": { "team": "black", "piece": "knight" }, "2,8": { "team": "black", "piece": "knight" }, "5,1": { "team": "white", "piece": "king" }, "5,8": { "team": "black", "piece": "king" }, "4,1": { "team": "white", "piece": "queen" }, "4,8": { "team": "black", "piece": "queen" } } } } }