Rubber Duck Thursdays - Rock, Paper, Scissors

Rubber Duck Thursdays - Rock, Paper, Scissors

2025-02-20

In this episode, I add a Rock Paper Scissors game to the gh-game GitHub CLI extension. The stream begins with a comprehensive GitHub changelog review covering the new GPT-4o Copilot code completion model, Copilot availability in Eclipse and Xcode, repository ruleset enhancements, secret scanning improvements, Copilot Workspace updates, and GitHub Issues and Projects feature updates.

The coding session uses GitHub Copilot Agent Mode to build the Rock Paper Scissors game in Go, taking advantage of Next Edit Suggestions and the new GPT-4o code completion model. A significant portion of the stream focuses on improving test coverage using Copilot’s inline chat in the terminal, progressing from 42.6% to 100% statement coverage by generating targeted test cases for uncovered functions. The episode also covers merging the Tic Tac Toe pull request from the previous week and shipping a new release of the CLI extension.

Related Content

Rubber Duck Thursdays - Tic, Tac, Toe

Rubber Duck Thursdays - Tic, Tac, Toe

2025-02-13 GitHub

Building a Tic Tac Toe game in Go for the gh-game GitHub CLI extension using GitHub Copilot Agent Mode. Also covers setting up CodeQL code scanning, fixing GitHub Actions workflow permissions, and a demo of GitHub Spark for creating micro apps from natural language prompts.

Rubber Duck Thursdays - Actions, Codespaces and Coin Toss

Rubber Duck Thursdays - Actions, Codespaces and Coin Toss

2025-02-06 GitHub

Building on the gh-game CLI extension project, Chris sets up GitHub Codespaces with dev containers, creates a CI workflow using GitHub Actions, and writes Go tests. The stream covers refactoring the coin toss game to use the go-gh prompter package for interactive selection menus, with GitHub Copilot assisting across multiple AI models.

Rubber Duck Thursdays - Creating gh-game CLI extension

Rubber Duck Thursdays - Creating gh-game CLI extension

2025-01-30 GitHub

Deep dive into GitHub Actions workflows including build, linter, and release pipelines for the GitHub Skyline CLI extension. Chris cuts a live release, then creates a brand new GitHub CLI extension (gh-game) from scratch — building a coin toss game in Go using the Cobra package with help from GitHub Copilot.