pyramids game, like tic-tac-toe, C/Qt