< Previous Challenge - Home - Next Challenge >
Having explored GitHub Copilot’s capabilities, it’s time to dive deeper and refine your approach. This challenge will not only focus on adopting best practices for effective interaction with Copilot but also apply these strategies to integrate a new feature into your Whack-a-Mole game.
In this challenge, you’ll focus on learning best practices for working with GitHub Copilot to implement a new feature in your app. You’ll learn the art of prompt engineering, which involves crafting inputs that guide Copilot to provide the most relevant and helpful suggestions. Research and experiment with the following techniques (and discover additional ones) to understand how they improve your results:
Start General, Then Get Specific: Begin with a broad description of your goal, then progressively add more specific requirements.
Break Complex Tasks Into Simpler Tasks: Decompose large problems into smaller, focused pieces that are easier to solve incrementally.
Give Examples: Provide examples of inputs, outputs, or patterns to help Copilot understand what you’re looking for.
You will have successfully completed this challenge when you: