A robot playing chess