fix release_ball()
add cpp version gumballstatewinner pattern