Take Part In GitHub's Copilot Adventures |
Written by Nikos Vaggalis | |||
Thursday, 17 July 2025 | |||
GitHub Copilot Adventures is a repository that, through fun and educational play, teaches how to use Copilot effectively. The way it works is that you pick a task, or a so-called adventure, and the programming language of your choice - Javascript, C# or Python. You then proceeed to writing the code to complete the task and on the way you also learn how to use Copilot as your helper pair programmer. The template is standard. For instance, picking the "The Clockwork Town of Tempora" adventure, you are first presented with the Background of the task: In the mechanical town of Tempora, everything operates on clockwork and precise timing. At the heart of the town is the Grand Clock Tower, responsible for keeping time for all the town's activities. However, over the years, some smaller clocks in the town have started to drift away from the accurate time. Then the Objective: Your task is to create a system that checks all the clocks in the town and synchronizes them with the Grand Clock Tower. You'll be given a list of times from various clocks around the town, and you must determine how many minutes each clock is ahead or behind the Grand Clock Tower's time. You are also given a set of Specifications: 1. Clock Data: The clock times are provided in a 24-hour format. The Grand Clock Tower is at 15:00. Clock times around town:
2. Time Analysis and Output:
and also Constraints if there are any. This is followed with tips on how to follow along with Copilot, like: Improve efficiency by
Generate code comments by
Simplify your code
While "The Clockwork Town of Tempora" is a novice's task for those who know the basics, there's also a warm up adventure for those totally unfamiliar with Copilot. There are also intermediate adventures:
as well as an advanced adventure: The Gridlock Arena of Mythos If you're old enough to remember text based RPG games, you'll be right in place. As you progress from adventure to adventure you learn new tips and ways that you can leverage the power of Copilot in writing code for your game the easiest and most productive way possible. You can start coding in Github Codespaces or straight inside from VSCode. You of course require a GitHub Copilot subscription, but now with the launch of GitHub Copilot Free, a free version of Copilot that provides limited access to selected features of Copilot and is automatically integrated into VS Code, you can start your adventure right away and either way. More InformationRelated ArticlesThe Github Copilot Mega Thread
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
|||
Last Updated ( Friday, 18 July 2025 ) |