Zen Hanoi is a puzzle game. You are going to move the disks to put…