Skip to content

A python automated bot to play Flight Rising's Glimmer and Gloom minigame.

License

Notifications You must be signed in to change notification settings

jraynolds/Glimmer-and-Gloom

Repository files navigation

Glimmer-and-Gloom

A python automated bot to play Flight Rising's Glimmer and Gloom minigame on the Very Hard difficulty.

THIS REPOSITORY IS NO LONGER MAINTAINED.

Instead, I recommend using the excellent fork by HjOtal-1 you can find here: https://github.com/HjOtal-1/Glimmer-and-Gloom

OUTDATED INSTRUCTIONS

Run bot.py when the game has begun, as in the screenshot:

The bot will work its way, clicking down from the top left to the bottom right. When it runs out of gloom hexes that aren't on the bottom right edges, it'll calculate the appropriate glimmers to click on and work them down to cancel out the remaining edge hexes. Calculations from the excellent spreadsheet done by Sqld.

If at any time the program has to be stopped, move your cursor to the top left corner of the screen and keep it there. That will terminate the project.

Quick guide

  • Download the files.
  • You need python, and then several dependencies which can be installed via running pip install -r requirements.txt.
  • Run python board_solver.py or python autorun.py!

Step-by-step guide

  • Download the files (click on the green code button, download as a .zip, and unzip it using WinRar or similar)
  • Install python (https://www.python.org/downloads/)
  • Open the unzipped folder, click the Windows Explorer location bar, type cmd and press enter
  • Type pip install -r requirements.txt in the resulting window and press enter
  • Make sure the Glimmer and Gloom game is started in Very Hard difficulty, and is visible on your screen.
  • Type python board_solver.py in that same cmd window and press enter.
  • It should work!
  • If you want to keep it running, run python autorun.py instead!
  • When you're done, or need to stop, move your mouse to the top left corner of your screen and keep it there. The mouse will move there periodically to help you reach it.

Error handling

  • Couldn't install python? Python help forums are better-equipped to assist than I.
  • Requirements installing failed? Some of the code needed to run this program may have disappeared. That's out of my control.
  • Keeps clicking the wrong thing? Make sure the command line is on the same screen.
  • Fails with a "list index out of range" issue? Make sure the Very Hard game mode is visible on screen. Try with other web browsers too. If that fails, replace the image files with screenshot snips you've taken on your own computer.
  • Not an above issue? Please open an Issue on this github project (or reply to one that matches your issue) and let me know!

About

A python automated bot to play Flight Rising's Glimmer and Gloom minigame.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages