Added a constructor which decodes turn data from the server