Classic text on Artificial Intelligence by Peter Norvig (now at Google). Sadly now out of print. See http://norvig.com/paip.html for details.