@mothepro/lit-amazons
v0.0.3
Published
Game of Amazons made with web components
Downloads
6
Readme
<lit-amazons>
Game of Amazons made with web components
Install
yarn add @mothepro/lit-amazons
How to Use
index.html
<script type="module" src="//unpkg.com/@mothepro/[email protected]/dist/esm/index.js"></script>
<script type="module" src="//unpkg.com/@mothepro/lit-amazons/dist/esm/index.js"></script>
<script type="module" src="index.js"></script>
<lit-amazons .engine=${window.engine}></lit-amazons>
index.js
import Engine from '@mothepro/amazons-engine'
window = new Engine
Take a look at the demo for simple of usage.
TODO...
- Support drag and drop on mobile