Just an idea I thought of (might not be helpful for restricting input) but what if you set an "If" for if the input given by the player was higher than a preset/rational number of blocks? Example: In EDIT Mode: IF ('Input # of Blocks' is higher than... say '100,000 blocks') THEN PRINT "Error: Irrational Number". (I don't think there are games of over 100,000 blocks, to my knowledge.)