if it was a piece of modular code, and the game you used it in was released, and the game for this contest is a new game and not just the old game remade, then yes, you can reuse it.