README
A module that solves 24 points game puzzle.
Usage:
const Game = require('24points')
console.log(Game.solve(3,3,4,11))
The module will return the solution equation as a string. If the puzzle has no solution, it'll return false.
A module that solves 24 points game puzzle.
<script type="module">
import 4points from 'https://cdn.skypack.dev/24points';
</script>
Usage:
const Game = require('24points')
console.log(Game.solve(3,3,4,11))
The module will return the solution equation as a string. If the puzzle has no solution, it'll return false.