Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ConnectFourBreakNew to Visual Studio Code? Get it now.
ConnectFourBreak

ConnectFourBreak

charvalton

|
2 installs
| (0) | Free
Play ASCII Connect Four while waiting for GitHub Copilot to finish your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ConnectFourBreak

Play ASCII Connect Four in a VS Code panel while you wait for Copilot or just want a break!

Features

  • Play Connect Four against a simple AI (Minimax with alpha-beta pruning)
  • ASCII board, keyboard/mouse friendly
  • Works in any VS Code window

How to Run Locally (Development)

  1. Install dependencies

    npm install
    
  2. Compile the extension

    npm run compile
    
  3. Launch the extension

    • Press F5 in VS Code (with this folder open) to open a new Extension Development Host window.
    • In the new window, open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P), type Connect Four: Start Game Break, and run the command.
  4. Play!

    • The Connect Four panel will open. Click the column buttons to drop your piece.

How to Test

  • Run the test suite with:
    npm test
    
  • Lint the code with:
    npm run lint
    

How to Package and Publish to the VS Code Marketplace

  1. Install vsce (VS Code Extension Manager):
    npm install -g vsce
    
  2. Package your extension:
    vsce package
    
    This creates a .vsix file you can share or install manually.
  3. Publish to Marketplace:
    • Create a publisher account: https://code.visualstudio.com/api/working-with-extensions/publishing-extension
    • Follow the instructions to publish:
      vsce publish
      

Notes

  • Make sure your code and assets are original or properly licensed before publishing.
  • This extension is for VS Code, not a standalone app.

License

MIT (or your preferred license)

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft