Extension Of The 'Gambler'S Ruin' Problem Played Over Networks