The moral of this story to me is that organizers should really be a lot more involved with the financial / legal aspects of a hackathon. "Rules" are not enough, and i think participants should agree beforehand to modalities with which code property and companies shares should be dealt with in various outcomes.