Currently working on a university assignment where I'm making a game in which I need the player to be able to 'search' for certain answers on google within the game. I decided the best way to do this is to make one word in another part of the game bold as to hint to search for that, and from there they can navigate to the 'pages' related to it.
For example, a player needs to look up "What's the best APPLE?" they would start typing "apple" into a pseudo google/search page to which would come up with other queries including the term the player is seeking. The other queries will just be flavour text/filling in for other sections in which the search functions needed.
Anybody got any ideas of how I'd go about making a text box that the player can use & live detect what's being typed? If not, any other suggestions of how you'd go about this kinda idea given the context.