allow more states via number input

This commit is contained in:
Azgaar 2022-01-16 19:37:16 +03:00
parent 207b564180
commit 214bc7a40d
4 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@ window.BurgsAndStates = (function () {
function placeCapitals() {
TIME && console.time("placeCapitals");
let count = +regionsInput.value;
let count = +regionsOutput.value;
let burgs = [0];
const rand = () => 0.5 + Math.random() * 0.5;