You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if a error message could be raised if the server did not receive a "move" message from client. As it defaults to "move|up\n" it would be an information for the player. Because if this leads to "loose" no further message are received.
The text was updated successfully, but these errors were encountered:
Transcript:
Re: Issue #10
Unfortunately the issue is only partially fixed. An error message is sent if the first command doesn't arrive in time, but in subsequent turns the last movement direction is repeated instead, with no error message.
The issue is in Game.ts, Line 180-181 (https://github.com/freehuntx/gpn-tron/blob/master/server/Game.ts#L180) is not executed ater the first turn, because the Player action is never reset to NONE,
It would be nice if a error message could be raised if the server did not receive a "move" message from client. As it defaults to "move|up\n" it would be an information for the player. Because if this leads to "loose" no further message are received.
The text was updated successfully, but these errors were encountered: