Betting functionality (Haven't finished yet)