JSFiddle - React, Tailwind, and code Playground

by frogggeee McFrogggeee

JavaScript

function setbedxy() {
var thx = 0;
var thy = 0;
var bedxx = [];
var bedyy = [];
var iii = 0;
for (iii = 0;iii < 100;iii++) {
	thx = Math.floor((Math.random()) * 18) + 1;
  thy = Math.floor((Math.random()) * 18) + 1;
  bedxx.push(thx);
  bedyy.push(thy);
}
}