Lego’s Mindstorms Robot Inventor kit is a new set that lets kids build and design robots. You get 949 pieces as part of the kit, which includes a color sensor ...
There’s also a Python library (basically a set of commands you can use to control the robot) available to go alongside the HAT, which will let you write software to control the robot parts you’ve got ...