🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

24game-solver

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

24game-solver

Solve 24 Game with less duplicated results.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

24 Game Solver

Solve 24 game with less duplicated results.

Demo page

Usage

Node

const solve24game = require('24game-solver');
const result = solve24game([a, b, c, d], goal);

Brwoser

<script type='text/javascript' src='dist/24game-solver.js'></script>
<script type='text/javascript'>
	var result = solve24game([a, b, c, d], goal);
</script>

API

solve24game(nums,goal)

  • nums - An array of numbers between 1 and 13, array length must between 3 and 6.
  • goal - A number between 0 and 99.

Test Case

Run npm test to run the test cases.

Keywords

24game

FAQs

Package last updated on 17 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts