Anyone have any experience coding a Keyestudio Smart Small Turtle Robot KS 0191

I hope someone can give me a hand with a robot I bought for my granddaughter. Anyone have any experience in coding a Keyestudio Smart Small Turtle Robot KS 0191?
I can get the processor flashed with two sample programs codes (blink & hello world). I am having trouble flashing the code for the “4 in 1 (line tracking, obstacle avoidance, IR control, Bluetooth control). ANyone have the complete code?
https://wiki.keyestudio.com/Ks0191_keyestudio_Smart_Small_Turtle_Robot#6.29_4_in_1.28line_tracking.2C_obstacle_avoidance.2C_IR_control.2C_bluetooth_control.29_program

Describe your problem - that code doesn't look to be very good quality