This is cool, and quite complex to implement in the time frame. It took me a while to figure it out, but definitely something that could be fleshed out into a full featured game.