Python Forum
Simple Eight-Puzzle not working!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Eight-Puzzle not working!
#3
Thanks! I shall try to incorporate the swap function.

(May-03-2018, 09:15 PM)woooee Wrote: Create a new board, instead of changing the existing one. Only update the new board if the square is not occupied. You can then go through the existing board in order and add the number to some other square on the new board.

I'm sorry but I don't understand what you mean. How would I do this?
Reply


Messages In This Thread
Simple Eight-Puzzle not working! - by BenjaminDJ - May-03-2018, 07:15 PM
RE: Simple Eight-Puzzle not working! - by woooee - May-03-2018, 09:15 PM
RE: Simple Eight-Puzzle not working! - by BenjaminDJ - May-04-2018, 12:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  8 puzzle game aliyark145 4 10,775 May-30-2020, 05:54 PM
Last Post: Alkis
  A sign-Reversal Puzzle HY2000 2 2,510 Dec-05-2019, 11:55 AM
Last Post: HY2000
  Cross word puzzle solve using python constraint library aliyark145 1 3,325 Nov-29-2018, 10:53 AM
Last Post: Larz60+
  Simple IF statement not working as intended gortexxx 2 2,818 May-17-2018, 07:54 PM
Last Post: gortexxx
  Supposedly simple program not working! Please help! BenjaminDJ 5 4,085 Feb-20-2018, 08:43 PM
Last Post: BenjaminDJ
  Simple Python program not working AudioKev 3 3,242 Jan-23-2018, 09:57 PM
Last Post: Larz60+
  Magic Square Puzzle Harnick 1 4,922 Aug-09-2017, 04:51 PM
Last Post: nilamo
  Image Puzzle Digitalchemist 6 7,368 Jun-05-2017, 07:56 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020