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 ...
Lego, building on the success of last year’s Lego Boost robotics kit, has announced the Powered Up Platform, a collection of new motorized, programmable, and smartphone-compatible Lego and Duplo sets.