I write an Android Java program to "animate" the moving of Tower of
Hanoi.
The drawing does not show in steps I expected, instead it shows in a
chunk at the end of the drawing. Why?
Also, I use BLUE color the "erase" the discs moved, then use BLACK
color to draw the missing stick portion. BUT, it does not use the BLUE
color at all, instead it uses BLACK.
The scenario can been seen in my personal website -
1. I set the disc number to be 5.
http://homepage8.seed.net.tw/web@3/heuristic/TOH_Set051411001.JPG
2. Then, I start the moving. (I used the sleep timer so that it won't
move too fast.)
http://homepage8.seed.net.tw/web@3/heuristic/TOH_Start051411001.JPG
3. It ends up with the BLACK piles of the discs on the two other
sticks as shown on the following URL: 
http://homepage8.seed.net.tw/web@3/heuristic/TOH_End051411001.JPG

I wrote this Java program long time ago using Java Applet. Now, I just
changed the interface to be Android GUI/API interface.
The old program works fine on my website -
http://homepage8.seed.net.tw/web@3/heuristic/tohjava.html

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to