Ever get bored while waiting for your code to compile? Do you sometimes just feel like you need a small break from all the coding?
Presenting TicTacToe inside VS Code!
Enjoy a quick game of TicTacToe right from the comfort of your own VS Code workspace.
Ok first open the repo in vscode. Please ensure you open the tictactoe folder. I.E lets say you save it as hacknight/tictactoe on your device do not open it on hacknight but directly the tictactoe folder.
Here’s a clean, well-formatted Markdown version of your instructions — perfect for a README.md or setup guide:
Follow these steps to get the extension up and running inside VS Code:
-
Open a terminal in VS Code.
-
Run the following commands one by one:
npm install npm run compile npm run watch
💡 Note: The
npm run watchcommand will not complete — this is expected behavior since it continuously watches for changes.
-
Once
watchis running, pressF5or go to Run → Start Debugging in the menu. -
You might see a popup — click “Debug Anyway” if prompted.
-
After that, check the bottom taskbar in VS Code:
- You’ll see the extension running.
- Click on it.
- When the Run Extension dropdown appears, press Enter.
-
Open the Command Palette:
- Windows/Linux:
Ctrl + Shift + P - Mac:
Cmd + Shift + P
- Windows/Linux:
-
In the search bar, type:
TicTacToeor
Start a new TicTacToe game -
Select it — and voila! 🎉 Your TicTacToe game should now open inside VS Code.
If you find the startup process confusing, please let the maintainer know. However, we’ll first review how much setup you’ve completed before offering direct help.
Upgraded AI and multiplayer coming soon!
Checkout the Contributing Guildelines
