UNPKG

simon-game

Version:

An API to use for building the Simon memory game.

10 lines (7 loc) 185 B
'use strict' const Simon = require('./simon') module.exports = function (possible, seriesLength) { const simon = new Simon(possible, seriesLength) simon.newSeries() return simon }