Betting on winner (client side);

Implemented ranking logic