README1.txt

In order to view the source code, we are including the entire project folder. To open the project, open the BARGAME.sln object in the project folder. You need Visual Studio C++ 2010 in order to open the BARGAME.sln file as Visual Studio is not backwards compatible.  You also need to follow these steps (from ChartDirector documentation).  The ChartDirector folder is location inside the top BARGAME folder:

**************************************************************
Compilation
All C++ modules that use ChartDirector need to include the file "chartdir.h". The "chartdir.h" will in turn include more header files. All these files are located in the "ChartDirector\include" subdirectory. The development environment header file search path must be configured to include that directory.

For Visual Studio 6.0, the steps are: Select "Project/Settings" from the menu bar, click on the "C/C++" tab, in the "Category" list box, select "Preprocessor", then in the "Additional include directories" field, add the path for the "ChartDirector\include" subdirectory.

For other versions of Visual Studio, the steps are: Select "Project/Properties" from the menu bar, go to "C/C++" -> "General", in the "Additional Include Directories" field, add the path for the "ChartDirector\include" subdirectory.


Linking
After compilation, the object file needs to link with "ChartDirector/lib/chartdir50.lib".

For Visual Studio 6.0, the steps are: Select "Project/Settings" from the menu bar, click on the "Link" tab, in the "Object/library modules" field, add the path of the file "chartdir50.lib".

For other versions of Visual Studio, the steps are: Select "Project/Properties" from the menu bar, go to "Linker" -> "Input", in the "Additional Dependencies" field, add the path of the file "chartdir50.lib".
**************************************************************

You also need to modify the location of pictureBox1 inside Visual Studio so the picture in the GUI will work to the location of where "titlepic.jpg"(inside top BARGAME folder).

We are also including the c++ files that were used for the backend/algorithms and the GUI.  You don't need Visual Studio to view these files, just a plain text editor.  These files are inside the Visual Studio project, but for ease of use, we included them here.

To run our program, open BARGAME.exe.  In order for it to work, you need to have chartdir50.dll(included) in the same directory as BARGAME.exe, or you can place it in your system32 folder.