Open this page at https://pelikhan.github.io/pxt-sockets/
This extension allows to interact with Web Sockets and Arcade games. Talking to Web Sockets will only work in GitHub Pages!
This repository can be added as an extension in MakeCode.
- open https://arcade.makecode.com/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/pelikhan/pxt-sockets and import
Updating your GitHub pages
- Commit your changes and create a new release in GitHub
- Go to the GitHub repository and add the following line in your
index.html
page at the end of thehead
tag.
<script src="https://pelikhan.github.io/pxt-sockets/assets/js/custom.js" />
- for PXT/arcade