Question by
nata123 · Oct 18, 2015 at 09:16 AM ·
listalgorithmmoveposition
how to stack possible move for minimax algoritm?
hi..
i want to make a mini board game like tic tac toe in unity3d with minimax algoritm, but i cant determine how to stacking possible move to make the algoritm run well. the game has same board and rule as tic tac toe but it has different move and pieces. my game has 3 pieces which is placed in three edges to move until its make diagonal, vertical, or paralel line except its starting position. the starting position same as chess and the board like this.
i hope anyone can help me to find the best way to stacking next possible move.
papan.png
(3.9 kB)
Comment
$$anonymous$$oved to Help Room. See the FAQ if you aren't sure why (it has guidelines for what should be in main UA.)
Your answer
![](https://koobas.hobune.stream/wayback/20220612041730im_/https://answers.unity.com/themes/thub/images/avi.jpg)