A simple code to beat the fun game called "Sete Cliques para as Estrelas" (Seven Clicks to the Stars in a loose translation) created by Guga Mafra at GugaCast.
This code was made only to study Python and must be used only for fun 👍.
Navigate between two pages on Wikipedia in seven clicks at the most.
- The player chooses two distinct pages on Wikipedia;
- Player clicks at any internal link from initial page;
- Player keeps clicking until reach the target page or reach the click limit;
- Player cannot to go back. Once a link is clicked there is no turning back;
- Player wins if the target page is found before the 8th click;
- Player looses if the target page is not found after the 7th click.
If players wants he can continue after the 7th click and the score must be negative just like Golf. For this code we will never push the limits.