quoridor-ai icon indicating copy to clipboard operation
quoridor-ai copied to clipboard

switch the game to human vs human mode in local

Open abcwang12 opened this issue 1 year ago • 2 comments

Hello, I find your implementation very impressive. I want to ask if there is any way to switch to the 2-player version on the local computer (meaning the game is now human vs human, not human vs AI anymore). Thankss!!!!

abcwang12 avatar Apr 14 '24 03:04 abcwang12

@abcwang12

Screenshot from 2024-04-14 22-26-40

I think you can use "AI Develop Mode". In the AI Develop Mode, you can use "AI do" button if you want AI to play a ply at a specific point. If you never click a "AI do" button, it works like a 2-player version. To turn on the AI Develop Mode, you can follow the guide below:

https://github.com/gorisanson/quoridor-ai/blob/d8062fa35098467323cf32b49d4f63c4f704e776/src/index.html#L520-L543

gorisanson avatar Apr 14 '24 13:04 gorisanson

Oh, Thank you so much for this guidance. I really appreciate it...

abcwang12 avatar Apr 15 '24 02:04 abcwang12