scree console.log gameloo drawcoun screensizead drawrace remainingdistance dra horses shadow swaypatter math. random var play startcountdown changeposition runrace countdown horse_image_ar drawracebackground ctx. drawcountdown inithorses horse_Array draw horses line cyclesRemaining const true DEFINITION_ORDER