Distributed system for autonomous control of toy cars