View Single Post
Go4Expert Member
19Jun2012,13:14  
priyatendulkar's Avatar
Hi,

Can you plz brief in how getDrunk() function works ..

Along with use of
steps = rand() % numSteps;
dir = rand() % 2; // 0 is back and 1 is forward