ccrandom

0.3.5 • Public • Published

cc random module

Usage : // require module. var randoms = require("ccrandom") ;

// get random int chunk.
var randomInt = randoms._int ;

// initialize random int pool.
randomInt.Init(100, 1) ;

// call function like this, return true(is hit) or false(no hit).
var hit = randomInt.IsHit() ;

========================================================= v0.2.0: nothing.

========================================================= v0.3.5:

  • add random int.

Readme

Keywords

Package Sidebar

Install

npm i ccrandom

Weekly Downloads

2

Version

0.3.5

License

MIT

Last publish

Collaborators

  • crazycloudcc