In the enchanted land of Eldoria, ancient scrolls containing the secrets of the universe were scattered and protected by the Elders using powerful spells. These spells concealed the secrets within the scrolls, adding layers of misleading information to deter prying eyes. Over time, these scrolls were digitized and stored in the Great Eldorian Library, accessible only through the Eldorian Web of Knowledge.
Your task is to create a system that retrieves a digitized scroll from the Eldorian Web of Knowledge and deciphers it by filtering out the Elders’ misleading information. As a young sorcerer’s apprentice, you must extract the true secrets hidden within the scroll using pattern recognition and reveal the ancient wisdom.
In this adventure, you’ll learn to use GitHub Copilot Agent Mode - an autonomous AI assistant that can understand complex tasks and break them down into multiple steps, creating entire applications from scratch!
Before starting this adventure, you’ll need to perform the following steps:
By completing this adventure with Agent Mode, you’ll learn:
Now let’s define the requirements for the scroll deciphering system so that you can start using Agent Mode effectively!
https://raw.githubusercontent.com/microsoft/CopilotAdventures/main/Data/scrolls.txt
{*
and *}
symbolsIn the Chat panel with “Agent” mode selected, provide a comprehensive prompt like:
Create a complete scroll deciphering system for the ancient scrolls of Eldoria. The system should:
1. Create a console application in JavaScript (or your preferred language)
2. Make an HTTP request to retrieve the digitized scroll from:
https://raw.githubusercontent.com/microsoft/CopilotAdventures/main/Data/scrolls.txt
3. Parse the scroll content to extract true secrets using regular expressions
4. True secrets are enclosed in {* and *} pattern markers
5. Filter out all misleading information added by the Elders
6. Display the extracted secrets in a beautiful, mystical-themed console interface
7. Include proper error handling for network requests
8. Add comprehensive documentation explaining the deciphering process
9. Make the code readable and maintainable
Please create the project structure, write the code, and test it.
Agent Mode will autonomously:
You’ll see each step in the UI, showing every tool invocation.
As Agent Mode works, you can:
Once your basic system works, try asking Agent Mode to:
Enhance the scroll deciphering system with these features:
1. Add support for multiple scroll sources and different secret patterns
2. Create a web interface for the scroll deciphering tool
3. Implement secret categorization and analysis
4. Add encryption/decryption capabilities for protecting discovered secrets
5. Generate detailed reports about the deciphering process
6. Create unit tests for the text processing logic
7. Add progress indicators for network requests and processing
When your Agent Mode implementation is complete, running the application should produce output similar to the following. AI is non-deterministic, so your results may vary slightly, but the structure should be similar.
📜 Welcome to the Great Eldorian Library! 📜
🔮 Accessing the Eldorian Web of Knowledge...
✨ Scroll retrieved successfully from the ancient archives
🧙♂️ Beginning deciphering process...
🔍 Filtering out the Elders' misleading information...
═══════════════════════════════════════
✨ ANCIENT SECRETS OF ELDORIA REVEALED ✨
═══════════════════════════════════════
🌟 Secret 1: The key to unlocking magical potential lies in understanding the harmony between elements.
🌟 Secret 2: Time flows differently in the realm of pure thought and meditation.
🌟 Secret 3: The greatest power comes from the unity of knowledge and wisdom.
🌟 Secret 4: Ancient runes hold the power to bridge realms when properly channeled.
═══════════════════════════════════════
📚 Total Secrets Discovered: 4
🔮 The wisdom of Eldoria is now yours!
═══════════════════════════════════════
🎓 Your apprenticeship advances! You have successfully deciphered the ancient scrolls.
Tool Confirmation & Limits:
If Agent Mode isn’t working:
chat.agent.enabled
is checkedAfter trying out Agent Mode with this adventure:
Remember: Agent Mode is your autonomous coding partner. Give it clear goals, let it work, and iterate together to build amazing software!