simplify
found bug in determining when does the betting round end
fix bugs