Anon0nyx / CitySprint

3 stars 1 forks source link

Setup Client to decode JSON websocket response from server #15

Open Anon0nyx opened 4 hours ago

Anon0nyx commented 4 hours ago

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.