Skip to content

Big overhaul with configurable chamber count & 'revolver' mode#17

Open
dgw wants to merge 2 commits into
masterfrom
revolver-mode
Open

Big overhaul with configurable chamber count & 'revolver' mode#17
dgw wants to merge 2 commits into
masterfrom
revolver-mode

Conversation

@dgw
Copy link
Copy Markdown
Owner

@dgw dgw commented May 2, 2025

As it says in the summary:

  • Added chamber count as a config setting
  • Added a 'revolver' mode that picks a cylinder slot and advances it (saved per channel)

Other housekeeping:

  • Added docstrings for helper functions
  • Expanded on the README a little
  • Added type annotations (unchecked with mypy, though)

This replaces #11

dgw added 2 commits May 2, 2025 10:09
As it says in the summary:
* Added chamber count as a config setting
* Added a 'revolver' mode that picks a cylinder slot and advances it
  (saved per channel)

Other housekeeping:
* Added docstrings for helper functions
* Expanded on the README a little
* Added type annotations (unchecked with mypy, though)
I'm not positive that I like the `sleep()` pause here, but it was MUCH
too slow when applied to *all* games. Only doing it when the revolver
has to be reloaded might be OK.
@dgw dgw added this to the 1.0.0 milestone May 2, 2025
@dgw dgw mentioned this pull request May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant