added betting and quit option