Terrain demo
freeSlots as array
Code using lintjs
Code cleaned up