Question for running AI with game.

76 views
Skip to first unread message

choc...@gmail.com

unread,
Jun 25, 2019, 12:59:34 AM6/25/19
to The Hearthstone-AI Competition

Hello. I’m participant of Hearthstone AI competition. Unfortunately, I’m the amateur of AI. I write the AI source code(agent) by visual Studio using C#. But I have serious problem. That problem is ‘running AI’. I want to check this AI source code are either correct or incorrect. but I don’t know how to running this code with Hearthstone Game. Can I ask for help?

alexander...@ovgu.de

unread,
Jun 26, 2019, 3:39:56 AM6/26/19
to The Hearthstone-AI Competition


Hi, you can load the whole project folder in visual studio. There you need to change the subproject to run. In your case it will be SabberStoneCoreAI. This will start the Program.cs file which serves as the entry point for your experiments. We already implemented a simple test and the only thing you need to replace is the agent that will be tested in the following games.


visual_studio.png


kinl...@gmail.com

unread,
Oct 27, 2019, 8:26:36 AM10/27/19
to The Hearthstone-AI Competition
Thank you, author, 
I think your work would be a potentially influential work for the players worldwide.

I have programming knowledge but not much in AI applications.
I can click the start, but there are a few of error pop-up windows that appears.
How to let the bot automatically control game by using the VisualStudio AI ?

Alexander Dockhorn

unread,
Oct 28, 2019, 4:16:48 AM10/28/19
to the-hearthstone...@googlegroups.com
Hi chocumin and kinlau.
there are multiple sub-projects included in the repository. The Hearthstone AI framework is just one of them, but it depends on the others.
You need to start this specific sub-project to test your AI. This will run the Program.cs file which includes a small example of how to setup the code and run your agents against each other.
We are currently working on a graphical user interface, but it is not ready yet. At the moment only console output is available.
Cheers,
Alexander
Reply all
Reply to author
Forward
0 new messages