tarcellius: In a general sense, you could try to reference the AI of a chess program. The best, easiest one I've seen is Tom's Simple Chess Program that you can find at this website: http://www.tckerrigan.com/Chess/TSCP
It follows the general need for board game AI: 1.) find legal moves (harder in pente than chess since more legal moves available for the most part) and potentially prune out terrible ones 2.) find a way to assign a score to a position Hope that helps!
(nascondi) Se vuoi giocare contro un avversario del tuo livello, puoi definire un BKR minimo ed uno massimo per ogni nuova partita che intendi creare. In questo modo nessun giocatore che non sia all'interno di questa fascia di rating potrà vedere o accettare il tuo invito. (Katechka) (mostra tutti i suggerimenti)