In this chapter, we will create an implementation of the famous Tower of Hanoi game. This puzzle game contains three rods and multiple disks of different sizes. The disks can slide onto the rods, but a disk cannot be placed on top of a smaller disk. At the starting position, all the rods are placed on one of the disks. The goal is to move them all to another rod. The player can only move one disk at a time.
Create a new Qt Quick Application - Empty project and call it hanoi. While we will use some Qt Quick utilities, our project will not really be based on Qt Quick. Qt 3D will do most of the work. Nevertheless, the ...