I am creating a Chess game and would like to make the player vs computer option, but I don't have any idea how to create an Artificial Inteligence to play Chess. Sure using a lots of 'Ifs' wouldn't be the best way... Someone has any ideia or a link for some discussion that could help me in that way? I didn't try any code yet also, if I try in the next days I upload it here in this discussion.

