python version of dodgem game