1.0.0 • Published 4 years ago

randomint_nr v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Random Number No Replace

random list integer without replace

Getting Started

this is mini script random for game.

Installing

RandomIntNR = require('RandomIntNR.js')

Usage

let r = new RandomIntNR();

r.init({
    x:1,
    y: 10,
    events: {
        onValue: e=> { console.log(e) },
        onTick: e=> { console.log(e) }
    }
});

r.events.onPause = function(e){ console.log(e) };

r.run()
r.pause();
r.resume();

Built With

javascript - typescript

Authors

Đinh Thanh Huy DrHuy

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments