Table tennis
- JavaScript 98.1%
- HTML 1.9%
| public | Add source code URL | |
| .gitignore | Initial commit | |
| game.js | Adjust timings and reduce joining time to 1500 ms | |
| game.test.js | Simplify canvas scaling using CSS | |
| index.html | Simplify canvas scaling using CSS | |
| LICENSE | Initial commit | |
| package-lock.json | Refactor into modules to make testing possible | |
| package.json | Refactor into modules to make testing possible | |
| README.md | Add build instructions | |
| script.js | Simplify canvas scaling using CSS | |
| vite.config.js | Initial commit | |
| webxdc.js | Initial commit | |
Pong WebXDC
WebXDC using realtime channel API.
Building
To setup development environment, run npm install.
Run npm run build to build dist-zip/pong.xdc.
Run npm run dev to run WebXDC locally in the browser.