Analysis of effective playing strategies in gambling games