
Soft JavaFX - Turnurile din Hanoi (joc de logica)
The program implements:
- The Hanoi towers problem as a logical game.
You can select:
- The number of disks,
It can: start and stop/ reset the animation.
Functioning
- Selecting an item from the combo box “Number of discs: ... “ will cause: the display of the selected number of discs.
- Pressing the button 'START' leads to: generate forms (bases, rods and disks), turning the game on, disable the button "START", disabling the combo box “Number of discs: ... “, and activate the button "STOP & RESET”.
- Pressing the button "STOP & RESET" will cause: stopping the game, delete forms (bases, rods and disks), activate “Start” button, activating the combo box “Number of discs: ... “, and disable the button "STOP & RESET ".
- Upon completion of the animation appears a dialog box of "Alert - Information" message "End game!". Pressing the button "STOP & RESET" from the dialog box leads to: close the dialog box, delete forms (base, rods and disks), activating the "Start" button, activating the combo box “Number of discs: ... “, and disable the "STOP & RESET".