The idea of random input every time the player respawn is really cool, but I actually found the way to cheese it.
See, the way you implement random inputs is to randomly assign actions for the first 3 buttons you press after respawn. This not only include arrow keys and the space bar but also the entire keyboard (except for K since it's reserved for kill-bind) (maybe also not the function keys).
This mean that you can actually rig the placement of these action keys to make them more intuitive to use. For example, this is how I like to assign these buttons:
- Press F
- If it's jump -> Press S
- If it's left -> Press D
- If it's right -> Press A
- If it's left -> Press H
- If it's right -> Press space bar
- If it's jump -> Press G
- If it's right -> Press S
- If it's left -> Press space bar
- If it's jump -> Press D
- If it's jump -> Press S
This way, you'll always have one hand pressing left with the left button, pressing right with the right button and the other hand pressing the jump button.