changed in-game messages and search() to match() when searching for  non alphabetical characters in input