a simple timer: the timer consists of two flip flops. It slows down the game and further amplifies the pseudo-randomness
a button press detection for each button
a simple reward detection
Output state Handlers
Output Selection: The last bit of the lsfr is used as the decision whether to give an output or not. The second and third to last bits are used to determine on which pin the output should be given. If both bits are zero, no output is given.
How to test
To play the game, press the start button and make sure the clock is set to a frequency of one or two. The higher the frequency the more difficult the game gets.
To score, you need to press the button while the respectivly numbered feedback output is one. You then get a reward feedback