thebrumby / HotWalletClaimer

Looking to optimize your earnings with HOT tokens on the Near Protocol? How about Wave on SUI? Tree on BSC? Or Vertus on Ton? This Python script simplifies the process by monitoring your account status within popular Telegram apps, ensuring rewards are claimed at the correct time.
MIT License
84 stars 31 forks source link

Discussion: Can you add the backup telegram without launch game script? #40

Closed S26T closed 2 weeks ago

S26T commented 3 weeks ago

Maybe it's will nice idea. Separate function for adding the backup telegram account.

thebrumby commented 3 weeks ago

Hi Sergey,

Thanks for the suggestion! I agree that it would be a nice idea to have a separate function for adding the backup Telegram account.

I might revisit this again in the future, but last time I tried to split the code into core functions in one file and game-specific functions in another, it got very messy! For example, the text during login varies depending on the user's verbose setting, controlled by the output() function. Additionally, mouse movements are simulated, and overlays are removed by move_and_click(). Some parameters are also passed globally rather than within functions, adding to the complexity.

When the project started with just 200 lines of Python script and only one game, it was easy to manage. However, as the games became more complex and users wanted more functionality, the codebase grew to around 1,300 lines. With many similar games, I now wish I had made it modular from the beginning.

In summary, it's a great idea, and I did attempt something similar before. However, given the limited time I have to spend on this project each week, I'll probably focus on maintaining the existing games and adding new ones rather than splitting the functions out.

Best regards.