jonthysell / Mzinga

Open-source software to play the board game Hive.
MIT License
82 stars 9 forks source link

AI Strength #110

Closed tmountain closed 3 years ago

tmountain commented 3 years ago

Hi,

Firstly, this project is awesome. It's great to see an open source initiative focused on such a wonderful game. That said, I'm a novice hive player (< 100 hours invested), and I beat the AI pretty easily at default settings. Is this to be expected? It'd be great to have some UI elements to tune to a standard difficulty (easy / medium / hard).

Secondly, as a minor complaint, the board adjusts its coordinate position every time a new piece is placed. I believe this is done in the interest of keeping it centered. That said, it's a disorienting behavior and requires you to visually adjust to the piece positions every time.

My suggestion would be to leave the piece as they are and allow the player to move the entire board via the mouse if reorientation is needed. Anyway, thanks for the cool project. I'll be keeping an eye on it.

jonthysell commented 3 years ago

Thanks for the feedback.

No, the MzingaEngine AI is not very strong. The goal of the project is to provide the tools and protocols to encourage others to write stronger AIs. You can improve MzingaEngine's strength by giving it more time to think, playing with its options (see Engine Options, maybe set the pondering to be MultiThreaded), and running on a more powerful machine. It has its limits though. I do have an issue tracking having "canned" settings here: https://github.com/jonthysell/Mzinga/issues/54

As for the UI, yeah, at some point I need to rewrite the board drawing to allow for user controlled scrolling and zooming. Everything is vector based so there's no problem scaling to any size. Just haven't gotten around to it. Opened a new issue here: https://github.com/jonthysell/Mzinga/issues/111

jonthysell commented 3 years ago

FYI @tmountain, user-controlled scrolling and zoom of the board was added in v0.11.5.

tmountain commented 3 years ago

@jonthysell Awesome, I'll take a look. Thanks for the update!