Is an input always valid? &quot;Firing once&quot; is an input: you have to validate that it&#x27;s been long enough since last firing that you should act on it (limit the rate). &quot;Moving left&quot; is an input, but by how much? Can I send &quot;Left, 9999999&quot; and replicate a teleport hack by pre-calculating these inputs?<p>You could bound the inputs to a simple stream of enums (FIRE, LEFT, RIGHT, etc.), but it wouldn&#x27;t be crazy to batch it up a little bit and send some magnitude data as well (FIRE 2, LEFT 50, etc.). It&#x27;s a little harder to validate, but depending on the specifics of implementation, that could be a win.