Untested draft refactor both/moves/attack for pieces specs
[xogo.git] / utils / alea.js
index 751d347..077970d 100644 (file)
@@ -22,7 +22,7 @@ export const Random = {
       min = 0;
     }
     if (!Random.rand)
-      Random.setSeed(Math.floor(Math.random() * 1984));
+      Random.setSeed(Math.floor(Math.random() * 19840));
     return Math.floor(Random.rand() * (max - min)) + min;
   },