WillFlame14 / hanabi-bot

A bot that plays on the hanab.live interface.
GNU General Public License v3.0
14 stars 9 forks source link

Add an environment variable HANABI_LEVEL to set the level to play at. #282

Closed flackr closed 3 weeks ago

flackr commented 3 weeks ago

Uses this as the default level, clamped to the specified range for tests. As a result tests will test at their min level unless one is set in the environment. Higher levels can be tested by setting HANABI_LEVEL. Tests can also set a max level where appropriate. This is based on our discussion on #211.

WillFlame14 commented 3 weeks ago

Thanks for this! :pray: