Y3WS websocket protocol for card I/O for the Taisen series by Haruka: Default listening port: 3594 (san-go-ku-shi) All packets are JSON and, unless otherwise specified contain these fields: * Requests: {"version": 1, "command": "..."} * Responses: {"version": 1, "success": , "error": } Commands: - ping Does nothing except answering with a success response. - get_game_id Extra response fields: - game_id: Returns the current game ID that is being run (SDDD, SDGY). - get_cards Extra response fields: - cards: - card_id: - path: Returns all cards that the player has in possession. - get_card_image Extra request fields: - path: Extra response fields: - data: Returns the card image for the given path (format TBA). - set_field Extra request fields: - array of objects - card_id: - x: - y: - rotation: Sets the given cards onto the given positions on the field. Always replaces the entire board.