0.0.7 • Published 9 years ago

solve24 v0.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

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
0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago