Life simulator

X: 0, Y: 0, wood: 0

Life rules:
*Water puts lava off if lava id nearby
*people walk randomly and if find a tree eat them and you get +2 wood
*wall you can build with 5 wood and people can't go trough them
*Lava and water can flow over lower ground else they stay on their place

You click on a button and draw by holding you left mouse button and moving your cursor over the canvas. To simulate one step click the one step button. People can go out of the canvas so it doesn't get too crouded if you draw too much people.