Open
Conversation
trottier
commented
Oct 29, 2019
| void setup() { | ||
| // Initializes the hub and passes the current filename as ID for reporting | ||
| hub.Initialize(__FILE__); | ||
| hub.ResetFoodMachine(); |
Contributor
Author
There was a problem hiding this comment.
This can be helpful to attract the player's attention to a new game, as well as letting the human know that the game was successfully installed.
trottier
commented
Oct 29, 2019
| retryCounter++; | ||
| else | ||
| { | ||
| if ((!focusPuzzle && random(0, 100) > DEFAULT_CORRECTION_EXIT_PERCENT) |
Contributor
Author
There was a problem hiding this comment.
DEFAULT_CORR... may have been rendered redundant by focusPuzzle
Contributor
Author
|
One other enhancement: Minimum level: This is a good way to "lock" your player at a particular level, once you're sure that the right one for them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a number of enhancements designed to speed up learning and make the game more "fun" and active for the player. Some have been more tested than others, and so, as usual, feedback is welcome!
Try it out!
Enhancements
Adjustable reinforcement ratio: The game is designed to permit easy adjustment of the reinforcement ratio. This can have a huge impact on how much the player can play the game before they get full. With a nominal reinforcement ratio of 10%, Salk will play up to 1000 times per day.
Keep going!: The reinforcement ratio isn't "strict" -- if the player has been trying hard and not succeeding, the reinforcement ratio increases significantly. There is a risk, here, that if the reinforcement ratio is too low, and players are reliably rewarded after they miss too often, that this will lead them to deliberately doing poorly. Hopefully this is mitigated by Streaks (below) but it is certainly a concern.
Streaks: As the player continues to succeed, the game produces additional reward chimes that track the player's "winning streak". More winning increases the probability that the player will get a food reward, to help them continue to focus.
Jackpots: As the player's streak increases, there is a probability of a "jackpot" in which the Hub adds kibble to the tray -- it's not truly a "jackpot", as it's only ~2x the normal reward.
Focus interactions: Games x0 through x5 have players practicing repeatedly on the same sequence. This is done to help players "confirm" their guesses, rewarding them for being consistent. In levels x6 through x9, the game will switch more and more often, so success can't depend on the player just doing the same thing they did previously. This rewards players for intelligently switching.
Time outs: When players get the game wrong a few times in a row, the delay to the next play increases. This is to discourage random guessing, as well as over-focusing on a particular game.
Variable negative feedback volume: By default, negative feedback provided is very low volume and gentle. It has a probability of getting louder, however, after repeated unsuccessful attempts. Low volume negative feedback appears to be important in order to minimize discouragement.