-
-
The outcomes of the program
-
outcome of the program
-
the code
-
Goals against (goals conceded by a team) for all away teams (teams playing as guests in opponents stadium) in respective order of team names
-
Goals for (goals scored by a team) all away teams (teams playing as guests in opponents stadium) in respective order of team names
-
Goals against (goals conceded by a team) for all Home teams (teams playing in home stadium) in respective order of team names
-
Goals for (goals scored by a team) all Home teams (teams playing in home stadium) in respective order of team names
-
Team names
Inspiration
In recent years, sports betting has become profitable to a few, usually the luckiest ones and betting companies, meanwhile, the majority are left with losses and sometimes bankruptcy. The gradual rise of technology and the penetration of hand-held devices has led to easy access to betting systems and hence the number of people who place bets has grown significantly In my society (Tanzania) for example, between 2014 and 2016, the betting companies’ revenue grew by 95% whilst the credit crisis associated with betting spiked and hit lower-income earners the most, of whom some borrow money to try their luck. While betting has been associated with luck and is praised to be a 'get-rich-quick' money scheme, this project aims to show the public that betting isn't associated much with luck on the company's side but rather a good blend of mathematics to always ensure maximum profits to the companies. My concern was on the failure of gambling companies to take responsibility of the social implications caused and taking advantage of the lack of knowledge among some clientele, so I decided to create BET-TER. This will enable individuals to assess outcomes on their own and then take advantage of the difference in odds provided by two bookmakers. Therefore, enabling people to make BETTER choices and place risk free bets. Also, since I just learnt python and was looking for a push to make an actual project, this was the right sign for me to put theory into action. The name BET-TER standing for BET BETTER - make better choices in betting.
What it does
I first put data from the league into text files - the team names and goals data. The program reads the data from the text files - for this example the sport was soccer, where I used Premier League data for Goals For and Against in Home and Away matches. Then the user can see the team names and is asked to put the teams' indices, from which the program will confirm with the user if the chosen teams are correct. From then, the program on its own runs the data calculations from the indices provided, to then provide the user with all possible outcomes. The user is prompted to select the outcome that he/she wants, and the program will then provide the odds, and the total payout depending on the amount staked. This data is a model base for the user to compare which bookmarker provides better payout than the other based on the outcomes of this program.
How we built it
I just used python - functions and loops
Challenges we ran into
Getting the Mathematics right i.e writing functions and loops to run the proper data and not mixing I also could not do many things since I am mainly knowledgeable in python
Accomplishments that we're proud of
This is my first Project, in my first hackathon
What we learned
I basically learned to put what I learnt into action
What's next for BET-TER
First learn more languages so that I can create a frontend for it. Learn web scraping so that the program automatically obtains up to date data from the websites. Improve on it so that it can be used widely
Log in or sign up for Devpost to join the conversation.