JSFiddle - React, Tailwind, and code Playground

by frogggeee McFrogggeee

HTML

<!DOCTYPE html>
<html>
<head>
<body>
<canvas id = "canvas" width = "480" height = "360"></canvas>
<script>
let ctx = document.getElementById("canvas").getContext("2d");
let scrollX = 0;
let scrollY = 0;
let cameraX = 0;
let cameraY = 0;
let Wx = [];
let Wy = [];
let type = [];
let money = 0;
function createWorld() {
	let x = 0;
  let y = 0;
  let i = 0;
  let e = 0;
  for (i = 0; i < 200; i++) {
  	
  }
}
</script>
</body>
</head>
</html>