so far: faj2E, osztaly2E, kepzettsegek2E (with some bugs)
This commit is contained in:
morbalint authored and Bálint Mórász committed 2024-01-19 10:00:33 +01:00
1 parent e51bde66da
commit d56d7c9899
31 files changed
+1883 -95

No files matched your search

@@ -0,0 +1,8 @@
export function dAny(sides: number) {
return Math.floor(Math.random() * sides) + 1;
}
export function d6() {
return dAny(6)
}
@@ -0,0 +1,3 @@
export function SignedNumberToText(val: number) : string {
return val === 0 ? " 0" : (val > 0 ? '+'+val : val.toString())
}