The company I am working for this summer is going to be hosting an hackathon for its summer interns. Out of idle curiosity, I asked about the IP rights for any resulting projects, and got the (not entirely surprising) response that the company would own any resulting projects.
That got me thinking, though- is this legal? It's a company event for employees, yes, but it's taking place outside work hours with no compensation (aside from food and a few prizes), and projects may be totally unrelated to any existing IP owned by the company. Of course, it's entirely possible that there was some clause in the new hire paperwork about this, but outside of that, would this hold up in court?