the sand looks real nice. im still confused about how its done, would you ever do a tutorial of the code? just a quick glance
while(gameon){ if (playermoved) { loop through every tile on the map and make it dark loop through every tile on the edge of the map and cast a ray to it, cutting the ray short when it hits a wall loop through every tile that was hit by a ray and light it }}