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:

  • Clock 1: 14:45
  • Clock 2: 15:05
  • Clock 3: 15:00
  • Clock 4: 14:40

2. Time Analysis and Output:

  • You need to determine how many minutes each clock is ahead or behind the Grand Clock Tower.
  • The result should be an array of integers representing the time difference in minutes. Positive values indicate the clock is ahead, and negative values indicate it's behind.

and also Constraints if there are any.

This is followed with tips on how to follow along with Copilot, like:

Improve efficiency by

  • asking Copilot Chat what the complexity of the code is.
  • asking Copilot Chat to make the code more efficient.
  • asking for the complexity again - is it better?

Generate code comments by

  • typing "/doc" and asking Copilot Chat to document the function

Simplify your code

  • by typing "/simplify" and pressing Enter

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:

  • The Celestia Alignment of Lumoria
  • The Legendary Duel of Stonevale
  • The Scrolls of Eldoria

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 Information

Copilot Adventures

Related Articles

The 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.

Banner


Apache Arrow 21 Released
07/07/2025

Version 21 of Apache Arrow has been released, including the first official Swift implementation of the platform. Improvements to Arrow 21 include exposing gRPC in the Flight client builder and improve [ ... ]



Cult.Repo's Python Documentary Coming Soon
27/07/2025

A must-watch full-length documentary for all Pythonistas is to be premiered on August 28th. This 3-minute trailer gives a taster of what to expect.


More News

pico book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 18 July 2025 )