速報APP / 教育 / The Tower of Hanoi - IGGI

The Tower of Hanoi - IGGI

價格:免費

更新日期:2016-05-18

檔案大小:2.3M

目前版本:1.2

版本需求:Android 1.6 以上版本

官方網站:http://appinventor.mit.edu/explore/master-trainers.html#nguyen

Email:khoi.ntm@gmail.com

The Tower of Hanoi - IGGI(圖1)-速報App

This app is the final assessment of The MIT Master Trainers Program in Educational Mobile Computing, held March 24-26, 2016 at Boston, USA

ACKNOWLEDGMENTS

I would like to thank Karen Lang, David Wolber and Josh Sheldon for their encouragement, feedback and support. My special thank goes to Karen Lang for her time correcting the English grammar for the tutorial:

https://drive.google.com/file/d/0B8MPX-KrJRMuMGFOSWhWbGtVdVU/view?usp=sharing

OVERVIEW

This tutorial is for advanced learners who want to explore the power of MIT App Inventor to create a complex and complicated Android game app, the Town Of Hanoi.

The Tower of Hanoi - IGGI(圖2)-速報App

The Town Of Hanoi, also the Tower of Brahma or Lucas' Tower, is considered a classical strategy game to demonstrate how algorithms work for computer science students as well as the general public. It is explained below:

• There are 3 poles.

• Bars are put onto the first pole in their size order, which means that the widest bar should be on the bottom of the pole. Here is an example:

• The number of bars on the pole can be chosen by the players.

• Players have to move all of the bars from the first pole on the left to the third pole in the right using the second bar in the middle, with the following rules:

o Only one bar can be moved at one time.

The Tower of Hanoi - IGGI(圖3)-速報App

o You cannot place a wider bar on top of a smaller bar.