mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
WIP 2e
so far: faj2E, osztaly2E, kepzettsegek2E (with some bugs)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
export function dAny(sides: number) {
|
||||
return Math.floor(Math.random() * sides) + 1;
|
||||
}
|
||||
|
||||
export function d6() {
|
||||
return dAny(6)
|
||||
}
|
||||
Reference in New Issue
Block a user