Chess game in qt with UdpSocket