Tom Hinrichs and Ken Forbus have a project called Companions that aims to create a program that can learn about how the real world works from demonstration, starting with simple games like Tic Tac Toe here:
They’ve also had success with much more complex games like FreeCiv, a civilization-management strategy game.