VoyTechnology / TicTacNode

A multiplayer tic-tac-toe server, client, and AI bot.
0 stars 0 forks source link

Client: Error displayed on move. #11

Closed GoldenBadger closed 9 years ago

GoldenBadger commented 9 years ago

When making a move, the following message appears:

status : error
code : 105
message : Not players turn

but the move is accepted and play continues as normal. This occurs when it is in fact the player's move. Issue may be with client or with server.

Steps to reproduce:

  1. Run the client.
  2. When it is your turn, try to make a move.
GoldenBadger commented 9 years ago

So far the error occurs with player name "Terry" but not player name "_____".

VoyTechnology commented 9 years ago

Just tested the server. I managed to successfully move for player terry /move?id=game-70&position=1 and /next?id=game-70 gives me {"status":"okay","board":[0,1,0,0,0,0,0,0,0],"turn":2}

GoldenBadger commented 9 years ago

The issue was never with moving. It was with an error message being displayed when I can move just fine.