QT-based three-game chess (Tic Tac Toe) game