prevents player from leaving spaces between letters