GitHub Repository
Preparing search index...
The search index is not available
Chess Bots
Chess Bots
server/utils/tcp-packet
jsonToPacket
Function jsonToPacket
json
To
Packet
(
jsonStr
:
string
)
:
Packet
Parameters
jsonStr:
string
Returns
Packet
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Chess
Bots
For
Contributors
Overview
Architecture
Writing
Tests
Resource
Library
ESP
Development
Overview
Setup
Structure
Packet
Format
Server
Development
Development
Structure
Setup
client/api
client/chessboard/board-
container
client/chessboard/board-
transform
client/chessboard/chessboard-
wrapper
client/chessboard/custom-
square-
context
client/chessboard/custom-
square-
renderer
client/chessboard/svg-
components
client/debug/debug
client/debug/drive-
robot
client/debug/drive-
slider
client/debug/select-
robot
client/debug/set-
robot-
variable
client/debug/simulator
client/game/draw-
dialog
client/game/game
client/game/game-
end-
dialog
client/game/navbar-
menu
client/home
client/main
client/puzzle/puzzle
client/router
client/setup/lobby
client/setup/setup
client/setup/setup-
base
client/setup/setup-
game
client/vite-
env
common/chess-
engine
common/client-
types
common/game-
end-
reasons
common/game-
types
common/message/game-
message
common/message/message
common/message/parse-
message
common/message/robot-
message
common/message/simulator-
message
common/message/test/parse-
message.test
server/api/api
server/api/client-
manager
server/api/game-
manager
server/api/managers
server/api/save-
manager
server/api/socket-
manager
server/api/tcp-
interface
server/command/command
server/command/executor
server/command/move-
command
server/command/move-
piece
server/js-
chess-
engine
server/main
server/robot/grid-
indices
server/robot/position
server/robot/robot
server/robot/robot-
manager
server/simulator
server/utils/env
server/utils/pair
server/utils/square
server/utils/tcp-
packet
server/utils/test/packet.test
server/utils/units
Packet
ACTION_
FAIL
ACTION_
SUCCESS
CLIENT_
HELLO
DRIVE_
TANK
DRIVE_
TILES
ESTOP
PING_
RESPONSE
PING_
SEND
Packet
QUERY_
RESPONSE
QUERY_
VAR
SERVER_
HELLO
SERVER_
PROTOCOL_
VERSION
SET_
VAR
TURN_
BY_
ANGLE
json
To
Packet
packet
To
Json
Generated using
TypeDoc