Arduino controls mechanical arm and wheels. It receives commands from RaspPi.
Raspberry Pi takes photos of the chess board and extract the state information and make decition accordingly(Raspberry Pi/software), then generates command and send to Arduino(.py files).