The contributor's main roles for the Panadamonium project phase 2 were as a coder and developer, with their primary contributions being implementing various code features like a menu system for pausing and exiting the game, adding audio to dialogues, including a fuse puzzle that players can interact with through menus, and activating and animating a snake.