Hacker News new | past | comments | ask | show | jobs | submit login

Yes, very weak is probably a better description. I haven't learnt the theory behind AI opponents properly yet, so this bot is essentially a weighted random choice.



My guess is that for 1, 2 or 3 moves per turn it's possible to make a bot that looks ahead 2 or 3 rounds using brute force and then use AB pruning to pick the best move.

With 7 moves per turn the search space is too big and it looks difficult.

I tried a few games with neutral pieces, and it' move difficult to beat the bot.


Now I feel negative. The rest of the implementation was very nice. Pretty ui and everything worked well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: