added to server/client and general ending of turn/starting of turn functionality