Skip to content

RSmith2468/Draughts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draughts

C++ Draughts game with AI opponent and with command-line or OpenGL UI

Compiling the command-line version

At the top level (Draughts/), run:

  g++ draughts.cpp board.cpp -o draughts.exe -std=c++11

Compiling the OpenGL version

Libraries

Download the following libraries (the versions used in this project are listed below):

Different versions of the libraries may work, but have not been tested.

Create the following folders at the top level:

  Draughts/libs_opengl/freeglut-3.0.0/
  
  Draughts/libs_opengl/glew-2.0.0/
  
  Draughts/libs_opengl/glm/
  
  Draughts/libs_opengl/soil/

Put all of the library files into the appropriate folders

e.g. for the freeglut files the directory structure should end up looking something like:

  Draughts/libs_opengl/freeglut-3.0.0/android/

  Draughts/libs_opengl/freeglut-3.0.0/doc/

  Draughts/libs_opengl/freeglut-3.0.0/include/

  Draughts/libs_opengl/freeglut-3.0.0/progs/

  etc.

Eclipse

Eclipse project files (.cproject, .project) are located in the following directory:

  Draughts/gui_opengl/draughts_opengl

The program should build using Eclipse set up to compile using the MinGW-w64 compilers

The inlude paths in the Eclipse project will need to be changed if the naming of the folders inside "libs_opengl" is different to that described above.

About

C++ Draughts game with AI opponent and with command-line or OpenGL UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors