# rock-paper-scissors-ml

> Rock Paper Scissors Machine Learning

Latest version **1.1.0** (published 2018-12-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install rock-paper-scissors-ml
pnpm add rock-paper-scissors-ml
yarn add rock-paper-scissors-ml
bun add rock-paper-scissors-ml
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-12-23 |
| First published | 2018-12-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Tiago Danin |
| Maintainers | tiagodanin |
| Keywords | machine, learning, machine-learning, ia, brainjs, rock, paper, scissors, rock-paper-scissors |

## Links

- npm: https://www.npmjs.com/package/rock-paper-scissors-ml
- Repository: https://github.com/TiagoDanin/Rock-Paper-Scissors-ML
- Homepage: https://TiagoDanin.github.io/Rock-Paper-Scissors-ML
- Issues: https://github.com/TiagoDanin/Rock-Paper-Scissors-ML/issues
- npm.io page: https://npm.io/package/rock-paper-scissors-ml

## Dependencies (1)

- [brainjs](https://npm.io/package/brainjs.md) 0.7.4

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [post-robot](https://npm.io/package/post-robot.md) — 93.7K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2018-12-23
- 1.0.0 — 2018-12-22

## README

# Rock Paper Scissors ML
Rock Paper Scissors Machine Learning

## Usage

```javascript
const config = {
	choices: ['rock', 'paper', 'scissors'],
	history: 3,
	lastChoices: []
}
const run = rockPaperScissors(config)
run('rock') //winHumane, winMachine, answerHumane, answerMachine
```

## Installation

This is a [Node.js](https://nodejs.org/) module available through the
[npm registry](https://www.npmjs.com/). It can be installed using the
[`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally)
or
[`yarn`](https://yarnpkg.com/en/)
command line tools.

```sh
npm install rock-paper-scissors-ml --save
```

## Dependencies

- [brainjs](https://ghub.io/brainjs): Neural network library

## License

MIT

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