Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIAi2 WildChat-4.8M (AI2)

say “Hello, is there any way to make a word game with Bot Designer? Looking for a guide…

  1. User

    say “Hello, is there any way to make a word game with Bot Designer? Looking for a guide to learn how can player specify a word or sentence. For example, if player specifies a sentence “How are you?”, and the bot will send “H__ r y_u?” To player 2 so player 2 can correct it.”

  2. Assistant

    Hello! Yes, it is possible to create a word game with Bot Designer where a player specifies a word or sentence, and the bot modifies it (e.g., replaces some letters with underscores) before sending it to another player to guess or correct.

    Here’s a general guide on how you can achieve this in Bot Designer:

    1. Capture Player Input
      Use an input command or a variable to get the sentence or word from Player 1.
      Example:

      *input_sentence = {text}  # Capture player's sentence
      
    2. Process the Sentence
      Write a script or use Bot Designer’s scripting features to transform the input sentence by replacing some letters with underscores (_). For example, replace vowels or random letters while keeping spaces intact.

      Pseudocode example:

      processed_sentence = ""
      for each character in input_sentence:
          if character is a letter to hide (e.g., vowel):
              processed_sentence += "_"
          else:
              processed_sentence += character
      
    3. Send the Modified Sentence to Player 2
      Use a message or output command to send the processed sentence to Player 2.
      Example:

      Send to Player 2: processed_sentence
      
    4. Allow Player 2 to Guess or Correct
      Capture Player 2’s guess or correction using an input again. You might compare the guess to the original sentence to validate it.


    Concrete Mini Example in Bot Designer syntax:

    // Player 1 inputs a sentence
    You: Please type a sentence:
    *input_sentence = {text}
    
    // Process the sentence (replace vowels with '_')
    *processed_sentence = ""
    *for i = 0 to length(input_sentence)-1
        *char = input_sentence[i]
        *if char in ['a','e','i','o','u','A','E','I','O','U']
            *processed_sentence += "_"
        *else
            *processed_sentence += char
    
    // Send processed sentence to Player 2
    To Player 2: Guess this sentence: *processed_sentence
    
    // Player 2 inputs guess
    Player 2: Your guess?
    *guess = {text}
    
    // Validate
    *if guess == input_sentence
        Bot: Correct!
    *else
        Bot: Incorrect, try again.
    

    If you want a full step-by-step or working script based on your Bot Designer platform, please share which specific Bot Designer you are using or the scripting language format it supports. I can help tailor the example!