Core mechanics mostly done

Finally got most of the core mechanics down. I still have to do some tweaking, but it's working pretty nicely already: LD38_screenshot.png