Holy shit that site's mobile experience is atrocious! On the page for 5 second before getting a full page model that didn't load properly for 15 second, then 2/3 of the screen obstructed with ads after closing the modal...
With the bike, the battery (and pedaling) is the source of your net energy output. Losses from friction to the ground and air drag will be the most significant net consumers of the energy. It doesn't matter how the rest of that energy is moved around within the system(s) of the bike.
Ultimately, what determines the distance you travel is the capacity of the battery and what external environmental factors affect the bike and by how much. Biking at 3m/s will have less air drag than 10m/s. Friction will be affected by the surfaces you go over, with something like mud taking more energy compared to something smooth like smooth concrete.
On an e-bike you would be losing significant portion of energy from propelling the bike, friction, air drag and heat loss. You might be able to put a small amount of energy back in from pedaling, going down hills or even braking, but certainly not enough to make it perpetual.
Perpetual motion machine are physically impossible based on our current understanding of physics. Many, many people have attempted to create them, but they all fail from the reaaons above.
I have played probably 2000 hours of Counterstrike, but maybe only a dozen or so of playing the game as intended.
The majority of my playtime is surfing - a mechanic that allows you to slide on sloped surfaces that is exploited to make whole maps that you go down. I play on servers that make compete with other players for time and rank among all other players on the server across maps.
Well done! I can't say that I am as capable to be able to take on a task like that but it must feel rewarding to see your work pay off like that!