Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kurehajime/minesweeper_tag
Minesweeper for Web Components
https://github.com/kurehajime/minesweeper_tag
game minesweeper webcomponent webcomponents
Last synced: 30 days ago
JSON representation
Minesweeper for Web Components
- Host: GitHub
- URL: https://github.com/kurehajime/minesweeper_tag
- Owner: kurehajime
- License: mit
- Created: 2022-12-26T10:26:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-15T14:11:43.000Z (about 2 years ago)
- Last Synced: 2024-12-17T15:16:10.063Z (about 1 month ago)
- Topics: game, minesweeper, webcomponent, webcomponents
- Language: Vue
- Homepage: https://kurehajime.github.io/minesweeper_tag/
- Size: 748 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MineSweeper Tag
[![npm version](https://badge.fury.io/js/mine-sweeper-tag.svg)](https://badge.fury.io/js/mine-sweeper-tag)
Minesweeper for Web Components
[![MineSweeper](https://user-images.githubusercontent.com/4569916/210158769-7d3e975e-a5bb-46be-a581-10271682ead2.gif)](https://kurehajime.github.io/minesweeper_tag/)
Demo
https://kurehajime.github.io/minesweeper_tag/
## Installation
```
npm install mine-sweeper-tag
```## Usage
### npm
Define custom element.
```
import { mine_sweeper } from 'mine-sweeper-tag'
customElements.define('mine-sweeper', mine_sweeper)
```Insert tag.
```
```
### CDN
insert your HTML.
```
import { mine_sweeper } from 'https://unpkg.com/mine-sweeper-tag@latest/dist/mine-sweeper.es.js';
customElements.define('mine-sweeper', mine_sweeper)```
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## History
https://github.com/kurehajime/minesweeper/commits/main
## Credits
@kurehajime
## License
MIT