amazons
v0.0.5
Published
Peer to peer game of Amazons
Downloads
3
Readme
<amazons-online>
Peer to peer game of Amazons
Install
yarn add amazons
How to Use
| Attribute | Type | Default | Description |
| --------- | ---- | ------- | ----------- |
| hidden
| boolean
| false
| Whether the element should be displayed |
<!--
Import the element.
The `module` query parameter expands "bare" imports to full unpkg.com urls.
This means use of an import map isn't needed.
@see https://unpkg.com#query-params
-->
<script type="module" src="//unpkg.com/amazons/dist/esm/index.js?module"></script>
<amazons-online
name="WebComponents Demo"
signaling="wss://ws.parkshade.com:443"
.stuns="[
stun:stun.stunprotocol.org,
stun:stun.l.google.com:19302,
stun:stun1.l.google.com:19302,
stun:stun2.l.google.com:19302,
stun:stun3.l.google.com:19302,
stun:stun4.l.google.com:19302,
]"
retries=3
timeout=5000
></amazons-online>
Roadmap
- Remove yellow square when opponent is trying to destroy