Thread: 15 Puzzle

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    15 Puzzle

    Does anyone by chance have the c code for a 15 slide puzzle or know where i can get the code for it?

    Thanks i appreciate it.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    That's a nice puzzle!

    I've seen an applet for it on the web, but not the program.

    This is a great puzzle to program up - a depth first search is highly recommended unless you have a particular search already in mind for it.

    If you enjoy programming, you *will* have fun with this puzzle.

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    2
    Ok well not the code for the whole program but the C Code for the actual 4x4 array sliding puzzle.

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Our forum is not intended as a source for programs. It's true that some simple one's get done, for the simplest (usually), of assignments on rare occasions, but that's certainly not the norm.

    The way it works is you post your program, and tell us specifically what is the problem with your program, and we'll try to help. Or if you're stuck trying to understand a concept, ask away - but please be specific. This is not a programming classroom or replacement for a textbook on C.

    For more info, read the "Homework Policy" sticky post.

    For more help, post up your start on the program, and what your problem is. Just saying "Help, I'm stuck", won't get you a good answer. Be specific.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program can't locate resource when run outside IDE
    By IdioticCreation in forum C++ Programming
    Replies: 10
    Last Post: 03-31-2009, 09:41 PM
  2. Replies: 12
    Last Post: 06-06-2008, 05:26 PM
  3. Need some help with C program writing
    By The_PC_Gamer in forum C Programming
    Replies: 9
    Last Post: 02-12-2008, 09:12 PM
  4. Problem with file
    By nevrax in forum C Programming
    Replies: 12
    Last Post: 04-23-2007, 06:18 PM
  5. Crossword Puzzle Program
    By Loctan in forum C++ Programming
    Replies: 2
    Last Post: 07-31-2006, 11:08 PM