finalized server to client and client to server protocols up till gameplay.