You can use AirPods on Android, but you will lose certain basic features, like software updates, equalizer, changing controls, and more. Not to mention that for a long while you would also be stuck with one different cable to charge this one accessory. It all adds up
I had a hard time figuring out the objective at the beginning, but when it clicked, I had fun. Good job! Can you provide a link to the source code in a comment?