Each project can be voted on by the jam participants. Multiple criteria are taken into consideration. And yes, you can get extra points for publishing parts of your code under a free license as long as it's indicated somewhere on your game's page.