🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

mastermind-solver

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mastermind-solver

Solver for the puzzle game Mastermind™.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Boilerplate module

Solver for the puzzle game Mastermind™.

Getting Started: in a web page

Current major browsers are supported but not Internet Explorer (edit targets in rollup.config.js and run npm run build to change this).

Load the script from the CDN:

<script src="https://cdn.jsdelivr.net/npm/pbuk-uk/mastermind-solver@0"></script>

The module is exported as MastermindSolver:

<script>
  document.write(MastermindSolver.version);
</script>

Getting Started: in Node.js

Node >= 10 is currently supported in the distributed modules.

Install from npm:

$ npm i boilerplate-module

Require CommonJS module:

// Default should work...
const MastermindSolver = require('mastermind-solver');
// ...or specify CommonJS module.
const MastermindSolver = require('mastermind-solver/dist/cjs');

or import as an ES6 module:

// Default should work...
import MastermindSolver from 'mastermind-solver';
// ...or specify ES6 module.
import MastermindSolver from 'mastermind-solver/dist/esm';

Using

Documentation

Contributing

License

Distributed under the MIT License. See [LICENSE] for more information.

Contact

https://github.com/pbuk-uk/mastermind-solver-js/issues

Acknowledgements

Mastermind is a registered trade mark of Hasbro, Inc.

Keywords

game

FAQs

Package last updated on 20 Jan 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