https://github.com/kena0ki/adima
Amidakuji(あみだくじ) on the web
https://github.com/kena0ki/adima
amidakuji ghost-leg lottery
Last synced: 6 months ago
JSON representation
Amidakuji(あみだくじ) on the web
- Host: GitHub
- URL: https://github.com/kena0ki/adima
- Owner: kena0ki
- License: mit
- Created: 2020-01-02T14:34:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:41:29.000Z (almost 3 years ago)
- Last Synced: 2025-03-19T18:14:29.328Z (7 months ago)
- Topics: amidakuji, ghost-leg, lottery
- Language: TypeScript
- Homepage: https://adima.netlify.app/
- Size: 3.67 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Adima
[](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
```htmlimport 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/)
## API
API is [here](https://kena0ki.github.io/adima/)## Lisence
MIT