-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket対応について #29
Comments
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
概要
WebGLでプレイできるようにするために通信をWebsocketに移行
親と子どちらも一つのWebsocketコネクションを最後まで使う。
データ型
JoinRoomResponse
ReadyResponse
Member(Object)
Direction(Enum)
Coordinate
Operation
SendResultRequest
SimpleGameResult
ErrorResponse
ErrorType(Enum)
"RoomNotFound"
ランダム参加にて部屋がない場合・合言葉が間違っている場合
"LostConnection"
ゲーム参加者のコネクションが切れた場合
"MalformedMessageType"
送信のデータ形式が間違っている場合
親の流れ
子の流れ
The text was updated successfully, but these errors were encountered: