Betting Game, practice with Javascript and Jquery