btsherratt, So I tried writing this AI with two differing approaches to playing the game:
🧠 The first one tried to evaluate the board and compare moves to each other, playing more how a human might do.
♟️ The second was a super simple weighted board, increasing/decreasing values for each space depending on what was next to them and then just choosing the space with the highest weight.
The second (much simpler) version works a lot better and doesn't get stuck anywhere near as much as the first. 😂
Add comment