Assignment 26 - Towers of Hanoi

Example Output

image

Learning Outcomes

  1. Recursion
  2. ArrayLists

Goals

The purpose of the assignment is to learn to 1. Display Symbols using SymbolCollection. 2. Solve a problem using logical steps. 3. Display multiple visualizations to Bridges.

Description

Tasks

Game Rules

  1. Only move one disk at a time.
  2. A move consists of taking the top disk and moving it to another peg.
  3. Disks that are larger may not be placed on smaller disks.

Extensions

Help

For C++

Bridges documentation SymbolCollection documentation

For Java

Bridges documentation SymbolCollection documentation

For Python

Bridges documentation SymbolCollection documentation