Click here to Skip to main content
15,888,521 members
Articles / Game Development

8/15 Puzzle using A* (A Star) Algorithm, C#

Rate me:
Please Sign up or sign in to vote.
4.65/5 (14 votes)
14 Jul 2013CPOL7 min read 114.1K   6.9K   17  
8/15 puzzle using A* (A Star) algorithm.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Puzzle
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            try
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new Form1());
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.Message);
            }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer CLSA Ltd
Hong Kong Hong Kong
A software developer, working as a Trading Algorithm developer in CLSA. I have been in software industry since November, 2007. I have experience in .NET technologies, C#, C, Java, trading algorithms, machine learning and AI.

Comments and Discussions