You can use pre-existing code or assets so long as you have the right to use them and the majority of your code/assets are made during the jam.