Skip to content

RussellDash332/pancake

Repository files navigation

pancake

Known for somewhat solving Wordle and Waffle.

Disclaimer

Only Windows and Linux are supported as of now. Windows because I use it, Linux because GitHub Actions uses it (but not my Ubuntu terminal somehow). You can't fight me.

Usage

  1. Run setup.py.
  2. To solve the ongoing Waffle, run main.py as is since the whole process is automated.
    • Use python main.py 1 for daily Waffle and python main.py 2 for deluxe Waffle.
    • If the mode is not given, it will request for one, 1 or 2, depending on whether you want to solve the daily Waffle or deluxe Waffle.
  3. If you decide to not solve the ongoing Waffle, run local_html.py instead. For any number of times, copy your whole HTML page source to run.html and press Enter.

Note that you can't get the HTML source page via Ctrl+U, so here's how you can do it:

nice

How it works

I only learnt CS2040 and CS3243, so those are where this can go as far as.

Telebot integration

It's amazing how this can be wrapped in a Telegram bot. You have two options:

  1. Create env.py and put TOKEN and CHATS as the bot token and the comma-separated chat IDs, respectively. For example:

    TOKEN = 'abcDEF123789'
    CHATS = '123456,-987654,42069'
  2. Use GitHub repository secrets and put TOKEN and CHATS accordingly without the quotation marks. See the image below.

secret

Contributing

asdf

About

bad unwordler and unwaffler

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published