all of the games code has to be made by you, you can use code from previous games you made but you cant just reskin them, music and sprites not made by you are allowed but you have to have the rights to them.
the rules are not very strict but you should generally try to make your own assets (if it is possible).