I like the look of the board.
As for AI, your on the right track!
The key is to determine how to score the current position of the board, for both black and white. Something as simple as assigning a value to each piece, and adding value for pins, forks, and check or checkmate, and as you suggest taking away value when your in those bad situations.
By using a valid move generator, and scoring the positions you can look at the scores several moves ahead. The goal is to choose the position that gives you the maximum score and your opponent the minimum. Simply put, the largest difference between the score for score=(white-black) thats positive (assuming your white).
By using this strategy you can look moves ahead down more favorable lines of play. This is known as min/max pruning.
It's and accomplishment to get it working.
Judging from your signature marketing and screen shots might be your calling.
As for AI, your on the right track!
The key is to determine how to score the current position of the board, for both black and white. Something as simple as assigning a value to each piece, and adding value for pins, forks, and check or checkmate, and as you suggest taking away value when your in those bad situations.
By using a valid move generator, and scoring the positions you can look at the scores several moves ahead. The goal is to choose the position that gives you the maximum score and your opponent the minimum. Simply put, the largest difference between the score for score=(white-black) thats positive (assuming your white).
By using this strategy you can look moves ahead down more favorable lines of play. This is known as min/max pruning.
It's and accomplishment to get it working.
Judging from your signature marketing and screen shots might be your calling.