solve24
Solves 24® Game cards (https://www.24game.com/)
Last updated 5 years ago by dbkaplun .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install solve24 
SYNC missed versions from official npm registry.

solve24

Solves 24® Game cards (https://www.24game.com/)

Usage

From the browser or Node (supports CommonJS, AMD, and globals):

> solve24([1, 4, 5, 6]).forEach(function (bc) {
... console.log(bc.toString());
... });
6 / ((5 / 4) - 1)

As a shell script:

$ npm install -g solve24
$ solve24 1 2 3 4 | head -n5
(1 + (2 + 3)) × 4
((1 + 2) + 3) × 4
(1 + 3) × (2 + 4)
(1 + (3 + 2)) × 4
((1 + 3) + 2) × 4

Current Tags

  • 0.0.7                                ...           latest (5 years ago)

8 Versions

  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
  • 0.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |