Jump to content
  • Advertisement
Sign in to follow this  
Guyveri

Reversi AI

This topic is 2533 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there!!!
I'm making AI for my reversi (Otello) game, and I wanna make the AI calculations in another thread!
Is this the right way.
I also thought about making small calculations each frame. But this idea doesn't seem so good!

And also,
is this the right forum to ask this question or should I ask that in the "Game programming" forum?

Share this post


Link to post
Share on other sites
Advertisement
If you are going to have some sort of animation going on, making the AI calculations in another thread makes perfect sense. Actually, chess programs typically use separate processes, and the engine process communicates with the GUI process via a text-based protocol (UCI and xboard are the two popular choices).

I strongly recommend organizing your program similarly, because having the text-based interface allows for much easier testing and debugging of the engine, plus you can use the same GUI with multiple engines, you can organize tournaments between engines, etc.

Share this post


Link to post
Share on other sites

If you are going to have some sort of animation going on, making the AI calculations in another thread makes perfect sense. Actually, chess programs typically use separate processes, and the engine process communicates with the GUI process via a text-based protocol (UCI and xboard are the two popular choices).

I strongly recommend organizing your program similarly, because having the text-based interface allows for much easier testing and debugging of the engine, plus you can use the same GUI with multiple engines, you can organize tournaments between engines, etc.


What did you mean by process? Is it a thread or should I start 2 apps:
1) GUI and user input
2) The calculations

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!