Very close..need help implementing Minimax AI

Very close..need help implementing Minimax AI
0

#1

So after reading couple blogs about Minimax, such as http://neverstopbuilding.com/minimax, conceptually I understand but with my current code, I’m having hard time executing with it.
As of now, I have a very simple Computer AI that just randomly picks any available moves in the current state.
Can anyone give me a hint/tip on where to start? I would assume creating something like a new State object but not sure…
http://codepen.io/neotriz/pen/yJPLOO


#2

I liked this video An Intro to Video Game AI for Beginners and Young Programmers