Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kena0ki/adima

Amidakuji(あみだくじ) on the web
https://github.com/kena0ki/adima

amidakuji ghost-leg lottery

Last synced: about 1 month ago
JSON representation

Amidakuji(あみだくじ) on the web

Awesome Lists containing this project

README

        

# Adima
[![codecov](https://codecov.io/gh/kena0ki/adima/branch/master/graph/badge.svg)](https://codecov.io/gh/kena0ki/adima)

This is a fast, lightweight, no dependency, not so impressive, and completely useless library for [Amidakuji](https://en.wikipedia.org/wiki/Ghost_Leg) ;-)

## Basic usage
### Use with installation.
Install by npm
```shell
npm install adima
```
and use it.
```javascript
import Adima from 'adima';

const container = document.getElementById('some-container');
const adima = new Adima(container);
adima.init();
```

### Use without installation
```html

import Adima from 'https://unpkg.com/adima@latest/dist/index.js';

const container = document.getElementById('some-container');
const adima = new Adima(container);
adima.init();

```

## Demo
Demo page is [here](https://adima.netlify.app/)
![demo](https://raw.githubusercontent.com/kena0ki/adima/master/assets/readme-demo.gif)

## API
API is [here](https://kena0ki.github.io/adima/)

## Lisence
MIT