# duck-hunt

> a duck hunt game to play on your url

Latest version **1.0.1** (published 2020-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install duck-hunt
pnpm add duck-hunt
yarn add duck-hunt
bun add duck-hunt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-10-09 |
| First published | 2020-10-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 90.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Victor Lemos @jonkoala |
| Maintainers | jonkoala |
| Keywords | duck, game, url |

## Links

- npm: https://www.npmjs.com/package/duck-hunt
- Repository: https://github.com/JonKoala/duck-hunt
- Issues: https://github.com/JonKoala/duck-hunt/issues
- npm.io page: https://npm.io/package/duck-hunt

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-10-09
- 1.0.0 — 2020-10-02

## README

# duck-hunt

A duck hunt game to play on your url

# Demo

You can play it [here](https://jonkoala.github.io/demos/duck-hunt/)

Use your arrow keys to aim and spacebar to shoot!

## Installation

Using npm:

```bash
$ npm install duck-hunt
```

Using jsDelivr CND:

```html
<script src="https://cdn.jsdelivr.net/npm/duck-hunt/dist/duck-hunt.min.js"></script>
```

## Usage

Basic usage:

```js
import DuckHunt from 'duck-hunt'

const game = new DuckHunt()
game.start()
```

You can also configure some game parameters when creating the instance
```js
const game = new DuckHunt({
  mapLength: 100,
  numDucks: 5,
  duckRespawnTurns: 100
})
```

## License
[MIT](LICENSE)

---
_Source: https://npm.io/package/duck-hunt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
