# jb20cm

Latest version **1.0.2** (published 2024-03-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install jb20cm
pnpm add jb20cm
yarn add jb20cm
bun add jb20cm
```

## 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.2 |
| Published | 2024-03-02 |
| First published | 2024-02-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 913 B |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | fengxiaoyong |

## Links

- npm: https://www.npmjs.com/package/jb20cm
- Repository: https://github.com/penglang/jb20cm
- Homepage: https://github.com/penglang/jb20cm#readme
- Issues: https://github.com/penglang/jb20cm/issues
- npm.io page: https://npm.io/package/jb20cm

## Recent versions

- 1.0.2 (latest) — 2024-03-02
- 1.0.1 — 2024-03-01
- 1.0.0 — 2024-02-26

## README

# tictactoe-api
An API to provide good moves in TicTacToe using the tictactoe-agent npm package

Here's an example of the deployed API:

[http://tttapi.herokuapp.com/api/v1/---O---X-/O](http://tttapi.herokuapp.com/api/v1/---O---X-/O)

The API requires two url path parameters :

```
                              a) 9 digit game state
                                       |
                                   VVVVVVVVV
http://tttapi.herokuapp.com/api/v1/---O---X-/O
                                             ^
                                             |
                                        b) Player
```

a) 9 digit game state each a O,X or -
  The - represent empty squares
  The digits map to the tic-tac-toe board as follows:

```
012345678
```

```
012
345
678
```

b) Player - The player whose turn it is, and for whom we want a recommendation

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