port changed to 63924,fixed rotation problems, legal move check implemented on server