Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kena0ki/adima
- Owner: kena0ki
- License: mit
- Created: 2020-01-02T14:34:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:41:29.000Z (about 2 years ago)
- Last Synced: 2024-12-05T10:02:35.578Z (about 1 month ago)
- Topics: amidakuji, ghost-leg, lottery
- Language: TypeScript
- Homepage: https://adima.netlify.app/
- Size: 3.67 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```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/)
![demo](https://raw.githubusercontent.com/kena0ki/adima/master/assets/readme-demo.gif)## API
API is [here](https://kena0ki.github.io/adima/)## Lisence
MIT