Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disincentive to spam spacebar #81

Open
plbrault opened this issue Aug 19, 2023 · 3 comments
Open

Add disincentive to spam spacebar #81

plbrault opened this issue Aug 19, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@plbrault
Copy link
Owner

Since key bindings have been introduced, the player can constantly spam the spacebar instead of handling I/O events when they come in. I would like to introduce a consequence when pressing the spacebar / clicking the I/O events button in absence of events. The consequence(s) remain to be determined. Here are a few ideas:

  • Remove points
  • Make it longer for active processes to become green
  • Add some kind of cooldown

If the solution could make sense on an OS theory point of view, that would be even better.

Suggestions are welcome!

@plbrault plbrault added enhancement New feature or request help wanted Extra attention is needed labels Aug 19, 2023
@Chrisk1905
Copy link

This sounds like a tough problem to gamify.

  • Have users individually unblock I/O operations in processes
  • Remove manually handling I/O events entirely, and have all I/O events unblock themselves automatically

@jbrokamp
Copy link

Some comment to the proposal of @Chrisk1905:

Individual unblocking you will not be able to do with the keyboard, I assume, so I wouldn't personally want that. Also that sound like a game mechanic for the harder modes. The other one sound good, I do not oppose auto unblocking, since managing blocked processes is already quite a burden. Maybe EASY/NORMAL modes have auto unblock?

If you want to keep the I/O events as a user action, you could have currently blocked processes (hourglass) extend the block with 1 or 2 seconds as a penalty. From OS perspective you would be occupying resources making an actual event take longer to occur.

@ElijahLynn
Copy link

I think this makes sense (after having just played for 30m for first time). I think it could be as easy as this:

  • if you hit space bar and no I/O events to process, negative points
  • if you hit space bar and there are I/O events to process, positive points

Maybe it just kicks in Hard mode and above though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants