In one of the games I'm making, I noticed a minor nuance that isn't implemented. When I convert the input from a text box to a variable, even though it's a "number" variable, if I inputted text, or had no input, it would come out as NaN.
I think if it's a "number" variable, any inputs to it should automatically be converted to int(). I think the same is true for "text."