NBA meets chess