/pxt-sockets

A tiny socket API for arcade games

Primary LanguageTypeScriptMIT LicenseMIT

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!

Use as Extension

This repository can be added as an extension in MakeCode.

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 the head tag.
<script src="https://pelikhan.github.io/pxt-sockets/assets/js/custom.js" />

Metadata (used for search, rendering)

  • for PXT/arcade
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>