@mothepro/lit-amazons
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

<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/amazons-engine@0.0.6/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

/@mothepro/lit-amazons/

    Package Sidebar

    Install

    npm i @mothepro/lit-amazons

    Weekly Downloads

    4

    Version

    0.0.3

    License

    Apache-2.0

    Unpacked Size

    82.9 kB

    Total Files

    21

    Last publish

    Collaborators

    • mothepro