Chess as a bridge between human cognition and artificial intelligence