From what I understood, Billy didn't pay Bobby $200 for the code, he just paid out a portion of the prize money they received from Startup Weekend. From the tone of the emails, I'm almost certain Bobby didn't sign over his rights in exchange for that $200.
He still owns all the code he wrote. If Billy uses that code in his own business that would be unauthorized and legal action can be taken.