DEV Community

thaumatin
thaumatin

Posted on • Edited on

First of its kind: Online checkers multiplayer app

GitHub Copilot CLI Challenge Submission

This is a submission for the GitHub Copilot CLI Challenge

What I Built

Draughts Pro is more than just a checkers app; it’s a tribute to the global popularity of the game. Built with inclusivity at its core, the platform brings internationalization to the forefront, allowing players from different regions to play by their own rules and in their own language.

Key Features

  • 🌍 Truly International: Support for 7 languages and 4 major game variants (International, American/British, Brazilian, and Nigerian).
  • πŸ€– Adaptive AI: Four unique difficulty levels designed to challenge everyone from casual players to seasoned strategists.
  • βš”οΈ Remote Multiplayer: Challenge friends globally with real-time gameplay.
  • πŸ•ΉοΈ Immersive UX: High-fidelity sound effects (with toggle support) and full keyboard action support for a seamless, distraction-free experience.

Demo

The game is live at: https://draughts.pro

Main menu screen

My Experience with GitHub Copilot CLI

As someone with a strong full-stack background but limited Python and FastAPI experience, GitHub Copilot CLI became my indispensable coding partner throughout this project. It transformed what could have been weeks of documentation diving into a focused, productive build sprint.

How Copilot Accelerated Development

1. Bridging the Knowledge Gap
The CLI helped me rapidly understand Pythonic patterns I wasn't familiar with. When implementing board state management, I could ask directly in my terminal: "How do I validate complex nested game state using Pydantic?" Instead of parsing through documentation, I got targeted examples that I could immediately apply and iterate on.

2. Staying in Flow
Context-switching kills productivity. Rather than bouncing between my IDE, browser tabs, and Stack Overflow, I kept my hands on the keyboard. Questions like "How do I handle WebSocket room management in FastAPI?" got instant, actionable answers without breaking my concentration.

3. Rapid Prototyping with Confidence
The CLI was instrumental for brainstorming complex game logic:

  • Enforcing variant-specific rules (different capture mechanics for International vs. American rules)
  • Implementing the AI difficulty levels with appropriate minimax depth
  • Managing real-time state synchronization across multiplayer sessions

What I appreciated most was Copilot's transparency. It explained what changes it was making and why, which turned every interaction into a learning opportunity.

Challenges I Faced

Permission Prompts on Sensitive Operations
Copilot always asked for permission before executing commands like starting the FastAPI server or installing packages. While this added a safety layer, I learned to anticipate which operations would trigger prompts and plan accordingly.

Prompt Engineering Strategy
Early on, I tried cramming too many requirements into single prompts, which sometimes confused the model and introduced errors. I adapted by:

  • Breaking complex features into smaller, focused requests
  • Being more specific about the context (e.g., "for the Brazilian draughts variant" vs. just "update rules")
  • Iterating in steps rather than expecting perfect code in one shot

Balancing AI Assistance with Learning
I initially leaned heavily on Copilot for code generation, but realized I learned more by using it as a mentor rather than a ghostwriter. Asking "explain this approach" or "what are alternatives to this pattern?" gave me deeper understanding than just accepting suggestions.

The Verdict

GitHub Copilot CLI didn't just help me build Draughts Pro. It expanded my capabilities as a developer. I built a production-ready FastAPI backend despite minimal prior experience with the framework, and learned Pydantic, WebSockets, and async Python patterns along the way.

For future projects, I'm planning to use Copilot more strategically: as a research assistant for unfamiliar domains, a sounding board for architectural decisions, and a real-time documentation lookup while keeping the creative problem-solving and critical decisions in my own hands.

Would I recommend it? Absolutely. Whether you're exploring new tech stacks or deepening expertise in familiar ones, GitHub Copilot CLI is a force multiplier that keeps you building instead of searching.

The Tech Stack

  • Frontend: React (State management for complex board positions and UI/UX).
  • Backend: FastAPI (Python) for high-performance game logic and API endpoints.
  • Real-time: WebSockets for multiplayer synchronization.

Settings

Game play

Game over

If you are interesting in the Repository and Demo, check out the links below!

Any questions or comments? I would love to hear from you!

Top comments (0)