Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
abikox (game like hanoi)
#2
Number of moves optimal theoretical: 2^N

So for 5 chips 32 moves

I went for 78 moves or 36 moves or in 25 moves
and then when chip went wrong way herself

And it would be good if program counted of moves

Best view is a free cell as a point
line 42

If onechar = 32 Then onechar = 46 '124

Russian answer:
abi baa kok xkk ok aaa bb iba
=3 +3 +3 +3 +2 +3 +2 +3
22 moves

Welcome to my topic
https://qb64phoenix.com/forum/showthread...310&page=3
Write name of program in 1st line to copy & paste & save filename.bas
Insert program pictures: press print-screen-shot button
Open paint & Paste & Save as PNG
Add picture file to program topic

Russia looks world from future. Big data is peace data.
I never recommend anything & always write only about myself
Reply


Messages In This Thread
abikox (game like hanoi) - by hsiangch_ong - 05-20-2024, 06:38 PM
RE: abikox (game like hanoi) - by DANILIN - 05-24-2024, 03:30 PM



Users browsing this thread: 1 Guest(s)