Bot Games Season 2: Community Week: Treasure Hunt Challenge Intro

  • 23 April 2022
  • 0 replies
  • 1297 views

Userlevel 6
Badge +9

This week is all about empowering our community members to design challenges for our audience and this challenge is designed by Akshay More.

 

The Treasure Hunt challenge is designed to test your string manipulation skills. You are expected to identify an 8 letter word based on the clues given below. The clues below will help you get each letter, but they are not in the same order to get the word straightforward. So once you get all the 8 letters, you have to shuffle them to identify a meaningful word.

 

As a first step, extract the text in this image and store it in a variable. Then follow the clues shared below to arrive at the final word.

 

Letter 1:

 

Identify the location where Jane’s parents stay and get the first letter from the identified word using the 'Extract Text' action with ‘After’ clause in Get characters attribute.

 

Letter 2:

 

Identify Peter’s daughter's name and then get the 3rd letter using Substring Action.

 

Letter 3:

 

Replace the string “Inten” in the word “Intention” with the string “na” and get the third letter from the resulting word.

 

Letter 4:

 

  • Extract the word between the words local and school
  • Identify the length of the identified word and get the (n-1)th character. For ex: if the word is Mexico, then the length of this word is 6, (n-1)th character is the 5th character that is ‘C’

 

Letter 5:

 

Identify the word that contains the character ";" (semi-colon), split the word using ";" (semi-colon) as delimiter and get the first letter from the second word.

 

Letter 6:

 

Reverse the word “phrase” and get the 2nd letter.

 

Letter 7:

 

Identify the 4th letter from the official language of the Netherlands.

 

Letter 8:

 

Using regular expression, identify the word ending with the letters “ol” from the paragraph shared in the image and get the fourth letter from the identified word.

Now, time to look at all the letters, and shuffle them to identify the final word. In the final word, just the first letter should be in uppercase and all the remaining letters should be in lowercase. Now, time to showcase the final word, display the answer in a message box.

 

Sharing Your Results

 

Once you've successfully completed the challenge, share a screenshot of your result along with the bot code on social using the hashtags #BotGames and tag 3 other RPA developers who you challenge to complete this exercise. We want to celebrate your accomplishment as well, so our social team will be looking for individuals who share their results on social media (and tag/challenge others) throughout the month of April to reward them with limited edition Bot Games swag. So complete each challenge and share your results for each week's challenge to increase your chances of being selected.

 

Conclusion

 

This is a fun challenge to try out your string manipulation skills and is not intended to be harder than the previous week's challenges. Like all of our challenges, there's more than one way to solve this - so even if you get it built, play around with different approaches to see how that impacts the reliability of your bot and the outcomes it can achieve.

 

Finally, if you tried this challenge and are getting stuck, don't worry! We'll be back on Thursday with a challenge page tutorial session where we'll showcase the instructions to demonstrate one of the ways to solve this challenge. Best of luck! Go Be Great!

 

P.s.: We know that it's easy to identify the word manually and display it in the message box, but the intention is to help you learn and implement different actions in the Strings package. And we are sure, you will play a fair game.


0 replies

Be the first to reply!

Reply