Are you allowed to use code from other games that you have made/working on?
I would say probably no. The rules state that you must make everything from scratch during the jam.
The rules do state that you can't use anything premade, but you can always rewrite the code from your previous projects as long as it isn't simply a copy&paste
How will you if we copy and pasted code?