Currently the client just handles a giant string of "coordX,coordY,color;" repeated for all of the modified coordinates. Not even thinking about encoding yet although that is definitely down the road. For now my focus is getting the client to actually handle a clean JSON response from the server containing more than just the state of the gameboard but also the state of the users coins and troops, etc.
Currently the client just handles a giant string of "coordX,coordY,color;" repeated for all of the modified coordinates. Not even thinking about encoding yet although that is definitely down the road. For now my focus is getting the client to actually handle a clean JSON response from the server containing more than just the state of the gameboard but also the state of the users coins and troops, etc.