raahul42 / XO-with-miniMax

Tic-tac-toe / noughts and crosses / Xs and Os game with user(X) playing against the AI(O). The AI uses Minimax algorithm to find the optimal position to play.
0 stars 0 forks source link

error in minMax() method #1

Open raahul42 opened 2 years ago

raahul42 commented 2 years ago

stackoverflow exception when the method is called

raahul42 commented 1 year ago

Memory overflow error is solved. But still minmax() is not always choosing the best available move

kashish63 commented 1 year ago

there is some bug in the algorithm

raahul42 commented 1 year ago

Hi Kashish,

Yes there's a bug and I've opened an issue for the same.

On Thu, 27 Oct 2022 at 21:02, Kashish < @.***> wrote:

there is some bug in the algorithm —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID:

DuckDuckGo removed 1 tracker. More →

https://duckduckgo.com/-pw9I3eI78gKvzInK9CVEUWvT_Zka6SUWkqFLUCPm1yYGhAjqdQniA9F385QvYUe1gcDq0pjvbK890i60qKK9iUMEXBipSkEG9V_uBL6Pw8YRD8Lj2EXz6dOndhetFCMh3gu4fbFdjftLNdhE7dB6_2MpnuijmSfWINXN0eHAvLGnt7eGYAQPTkVCryaMRXHGxTWBIcR3j_BAJ7w1eyLmV3Z_ObmYzfZWNaFrWAD_qL6yAJMXZCkWvyvzdP_pQjgVDoowNIgrlUO32XOzvlc4TcQ

there is some bug in the algorithm

— Reply to this email directly, view it on GitHub https://github.com/raahul42/XO-with-miniMax/issues/1#issuecomment-1293711914, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKZ3RYF4KXVQZARDMVYZOGTWFKOAVANCNFSM5GBJATKQ . You are receiving this because you authored the thread.Message ID: @.***>