Body: <p>I have coded an AI checkers game but would like to see how good it is. Some people have informed me to use the Chinook AI opensource code. But I am having trouble trying to integrate that software into my AI code. How do I integrate another game engine in checkers with the AI I have coded?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T16:20:33.783Z
Comments.Text: Please explain what is preventing you integrating Chinook - e.g. do you get errors, is there a clash of libraries or language support on your machine? Also, it is worth mentioning your project's coding language. Your own code and whatever you integrate with will need to share a game board and be able to inform each other of when they have moved/whether they resign etc.
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T16:32:35.720Z
Comments.Text: I'm having trouble wrapping my head around how to integrate it into my code
Comments.UserDisplayName: JoeyB
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T16:33:37.023Z
Comments.Text: Is it just a matter of copying and pasting it?
Comments.UserDisplayName: JoeyB
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T16:40:17.440Z
Comments.Text: I suspect that is unlikely. Are the two projects written in the same language? Do they use the same board representation? Do you have a reference to the Chinook AI code and documentation for its API?
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T17:16:56.027Z
Comments.Text: To put it simply. I have to say no to all of those questions. Can you help me?
Comments.UserDisplayName: JoeyB
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T17:18:59.207Z
Comments.Text: Is there a site whereby it offers a variety of languages for me to choose from so I can just download it?
Comments.UserDisplayName: JoeyB
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T17:34:45.427Z
Comments.Text: No I think it is very unlikely that you will find a conversion to your language if the original does not match. I don't think you have an AI problem here, but are limited by your knowledge/experience of working with third party code or systems. What language is your project in?
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T17:36:33.637Z
Comments.Text: I coded it In C
Comments.UserDisplayName: JoeyB
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T17:48:22.147Z
Comments.Text: OK, so C doesn't come with much help, but it is fast and can connect low-level. Your ideal integration will be with another checkers library written in C, which has at least some documentation. A quick search turned up this: http://www.fierz.ch/checkerboard.php . . . which is a shared checkers "environment" that runs in Windows and that multiple different player engines can share. It may be your best bet - it is unlikely that anyone on AI site can answer questions about integrating it though.
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T17:54:31.690Z
Comments.Text: Final thing that may help - **CheckerBoard** is written so that you can implement your AI as a Windows DLL and copy it into an Engines folder - i.e. all the integration work done for you, including a UI for human-vs-AI play, *provided* you follow the API that it expects of you in your DLL: http://www.fierz.ch/cbdeveloper.php
Comments.UserDisplayName: Neil Slater
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-15T17:58:13.180Z
Comments.Text: @NeilSlater  That is mighty helpful of you Neil, thank you
Comments.UserDisplayName: JoeyB
Tags: <game-ai><checkers>
Title: Checkers AI game engines
UserDisplayName: JoeyB
ThreadText: # Checkers AI game engines
  
  (Asked by: username_0 on 2018-10-15)
  
  I have coded an AI checkers game but would like to see how good it is. Some people have informed me to use the Chinook AI opensource code. But I am having trouble trying to integrate that software into my AI code. How do I integrate another game engine in checkers with the AI I have coded?
  
  **Tags:** game-ai, checkers
  
  > **Comments:**
  > **username_1**: Please explain what is preventing you integrating Chinook - e.g. do you get errors, is there a clash of libraries or language support on your machine? Also, it is worth mentioning your project's coding language. Your own code and whatever you integrate with will need to share a game board and be able to inform each other of when they have moved/whether they resign etc.  
  > **username_0**: I'm having trouble wrapping my head around how to integrate it into my code  
  > **username_0**: Is it just a matter of copying and pasting it?  
  > **username_1**: I suspect that is unlikely. Are the two projects written in the same language? Do they use the same board representation? Do you have a reference to the Chinook AI code and documentation for its API?  
  > **username_0**: To put it simply. I have to say no to all of those questions. Can you help me?  
  > **username_0**: Is there a site whereby it offers a variety of languages for me to choose from so I can just download it?  
  > **username_1**: No I think it is very unlikely that you will find a conversion to your language if the original does not match. I don't think you have an AI problem here, but are limited by your knowledge/experience of working with third party code or systems. What language is your project in?  
  > **username_0**: I coded it In C  
  > **username_1**: OK, so C doesn't come with much help, but it is fast and can connect low-level. Your ideal integration will be with another checkers library written in C, which has at least some documentation. A quick search turned up this: http://www.fierz.ch/checkerboard.php . . . which is a shared checkers "environment" that runs in Windows and that multiple different player engines can share. It may be your best bet - it is unlikely that anyone on AI site can answer questions about integrating it though.  
  > **username_1**: Final thing that may help - **CheckerBoard** is written so that you can implement your AI as a Windows DLL and copy it into an Engines folder - i.e. all the integration work done for you, including a UI for human-vs-AI play, *provided* you follow the API that it expects of you in your DLL: http://www.fierz.ch/cbdeveloper.php  
  > **username_0**: @username_1  That is mighty helpful of you username_1, thank you  
  
  ---
  
  ## 0 answers
  
  