implementing game mechanics TCPServer and GameMechanicsManager