A seamless VS Code extension that lets you play Ludo directly in the sidebar without any distractions. Perfect for quick gaming breaks during coding sessions!
- 🎯 Sidebar Integration: Game lives in the VS Code sidebar - always accessible, never in the way
- 🔍 Quick Access: Search "play ludo" in the command palette or click the game icon in the activity bar
- 🖥️ Seamless Experience: Native-feeling webview with VS Code theme integration
- 🎨 Clean Interface: Hidden browser UI elements for a distraction-free gaming experience
- ⚡ Fast Loading: Optimized loading with visual feedback
- 🔄 Persistent State: Game state is retained when the sidebar is collapsed or hidden
- ⌨️ Keyboard Friendly: Easy navigation and shortcuts
- 🎨 Theme Aware: Adapts to your VS Code theme (dark/light mode)
- Click the Game Icon: Look for the 🎲 icon in the VS Code activity bar (left sidebar)
- Start Playing: The Ludo game will open in the sidebar panel
- Command Palette: Press
Cmd+Shift+P
(Mac) orCtrl+Shift+P
(Windows/Linux) - Search: Type "Play Ludo" or "play ludo"
- Start Playing: Select the command and the sidebar will open with the game
- The "Play Ludo" command will automatically focus the sidebar and refresh the game
- Perfect for quickly switching between coding and gaming
The sidebar implementation provides:
- Compact Header: Shows game status and VS Code integration
- Responsive Design: Adapts to different sidebar widths
- VS Code Theme Integration: Uses VS Code colors and styling
- Optimized Layout: Perfect for smaller sidebar space
- Loading States: Smooth loading experience with VS Code-styled spinner
- VS Code version 1.85.0 or higher
- Internet connection for game loading
- Modern browser engine (built into VS Code)
- Clone or download this project
- Open the project folder in VS Code
- Press
F5
to launch a new Extension Development Host window - In the new window, use
Cmd+Shift+P
and search for "Play Ludo"
- Open VS Code
- Go to Extensions (
Cmd+Shift+X
) - Search for "Ludo Player"
- Install the extension
This extension creates a seamless gaming experience by:
- Opening the Ludo King game from ludoking.com in a custom webview
- Hiding browser UI elements with custom CSS
- Providing a native-like gaming interface
- Maintaining game state across VS Code sessions
To contribute or modify this extension:
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes during development
npm run watch
# Package for production
npm run package
Ludo: Play Ludo
- Opens the Ludo game in a new panel
- The extension only loads content from ludoking.com
- No user data is collected or stored by this extension
- All game data is handled by the ludoking.com website
- Secure Content Security Policy (CSP) implementation
Game not loading?
- Check your internet connection
- Ensure ludoking.com is accessible
- Try refreshing the panel
Panel appears blank?
- Wait a few seconds for the game to load
- Check VS Code developer tools for any errors
- Restart VS Code if issues persist
This project is licensed under the MIT License - see the LICENSE file for details.
- Ludo King game by Gametion Technologies
- VS Code Extension development community
Include if your extension adds any VS Code settings through the contributes.configuration
extension point.
For example:
This extension contributes the following settings:
myExtension.enable
: Enable/disable this extension.myExtension.thing
: Set toblah
to do something.
Calling out known issues can help limit users opening duplicate issues against your extension.
Users appreciate release notes as you update your extension.
Initial release of ...
Fixed issue #.
Added features X, Y, and Z.
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\
on macOS orCtrl+\
on Windows and Linux). - Toggle preview (
Shift+Cmd+V
on macOS orShift+Ctrl+V
on Windows and Linux). - Press
Ctrl+Space
(Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!