Build & Play - Coding Break Games 🎮
A lightweight, fun, and minimally intrusive VS Code extension that provides multiple mini-games inside your code editor. Take relaxing breaks during coding sessions without leaving your development environment.
📦 Installation
VS Code
Install from the Visual Studio Code Marketplace
Or via Command Palette:
- Open VS Code
- Press
Ctrl+Shift+P
(or Cmd+Shift+P
on Mac)
- Type:
ext install LOOPLOGIC.build-and-play
- Press Enter
Or via Terminal:
code --install-extension LOOPLOGIC.build-and-play
Cursor
Since Cursor is built on VS Code, you can install this extension the same way:
- Open Cursor
- Press
Ctrl+Shift+P
(or Cmd+Shift+P
on Mac)
- Type:
ext install LOOPLOGIC.build-and-play
- Press Enter
Or install directly from the Extensions panel:
- Open Cursor
- Click the Extensions icon in the sidebar (puzzle piece icon)
- Search for "Build & Play - Coding Break Games"
- Click "Install"
Or via Terminal (if Cursor CLI is installed):
# Try the exact extension ID
cursor --install-extension LOOPLOGIC.build-and-play
Or via import from vs code:
- Open VS Code
- install the extension from the marketplace
- Navigate back to cursor
- Press
Ctrl+Shift+P
(or Cmd+Shift+P
on Mac)
- Select "Import VS Code Extension and Settings"
- Restart cursor
Note:
- For VS Code: Ensure you have the
code
command line tool installed. If not, open VS Code, press Ctrl+Shift+P
(or Cmd+Shift+P
on Mac), type "Shell Command: Install 'code' command in PATH", and press Enter.
- For Cursor: The
cursor
CLI tool might not be installed by default. To install it, open Cursor, press Ctrl+Shift+P
(or Cmd+Shift+P
on Mac), type "Shell Command: Install 'cursor' command in PATH", and press Enter.
Pin to Activity Bar (Recommended)
The Game Hub automatically appears in your activity bar (left sidebar) with a 🎮 icon. To ensure it stays visible:
- Right-click on the activity bar (left sidebar)
- Select "Build & Play 🎮" from the context menu
- Check the box to keep it pinned
To add the Game Hub to your primary sidebar (explorer area):
- Open the Game Hub from the activity bar
- Right-click on the Game Hub tab
- Select "Move to Primary Side Bar"
- The Game Hub will now appear in your main explorer sidebar
Quick Access
- Keyboard shortcut:
Ctrl+Alt+G
(or Cmd+Alt+G
on Mac)
- Command Palette: Press
Ctrl+Shift+P
and type "Open Game Hub"
🎮 Available Games
🚜 Idle Farmland
Relaxing farming simulation with real-time crop growth, animal management, and economic gameplay.
Features:
- 🌱 Plant and harvest crops (carrots, corn, wheat)
- 🐔 Raise chickens and collect eggs
- 🏠 Build chicken coops and expand your farm
- 💰 Trade crops and resources in the shop
- ⚡ Energy management system
- 🎯 Strategic bulk trading mechanics
🐍 Snake Game
Classic retro snake game with modern controls and scoring system.
Features:
- 🎮 Classic snake gameplay
- 🏆 High score tracking
- ⌨️ WASD and arrow key controls
- 🎯 Progressive difficulty
🧱 Block Builder (Coming Soon)
Voxel-based 3D builder game with drag-and-drop blocks.
🌺 Puzzle Garden (Coming Soon)
Match-3 garden puzzle game with chill music and beautiful visuals.
✨ Features
- 🕹 Multi-game hub accessible via activity bar
- 🔁 Activity-aware gameplay
- 💾 Persistent progress and saves
- 📱 Built with future web/mobile use in mind
- 🔧 Lightweight rendering (<2MB footprint)
- ⌨️ Keyboard shortcuts for quick access
🚀 Quick Start
- Install the extension from the marketplace
- Open the Game Hub from the activity bar (🎮 icon)
- Choose your game and start playing!
- Use
Ctrl+Alt+G
(or Cmd+Alt+G
on Mac) for quick access
Happy coding & gaming! 🎮