Skip to content

Commit 8501406

Browse files
authored
Update README.md
1 parent 207d586 commit 8501406

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
# custom-random
22
random function but you can custom it.
3+
4+
```lua
5+
local crandom = require("crandom")
6+
7+
local seed, step = 1234, -1
8+
print(crandom:random(seed, step))
9+
```

0 commit comments

Comments
 (0)