Skip to content

edavis0/college-football-betting-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

College-Football-Betting-Javascript

Overview

This repository contains source code allowing the user to simulate betting on American college football games in the terminal. It utilizes the CFBD JavaScript API. For more information regarding the CFBD APIs and databases, please refer to this link. This program offers the same functionality provided by the College-Football-Betting-Python repository. For more information about functionality, please refer to that repository.

Installation and Usage

You can simply clone this reposity and run the script by accessing the app directory and running node index.js, assuming you have a CFBD API key, created a .env file with a api-token='<API-KEY>' entry, and have Node installed. To install the required Node packages, run npm install.

Bet Types

Two bet types are used in this program: point spread bets and total point bets (also known as over/under bets). For more information regarding the mechanics of these bets, refer to this link.

Use Case

This program provides a high-level framework for creating betting apps using the CFBD API. It could be further improved by adding UI, user error handling, etc. Currently, there are no further improvements expected to be implemented.

Imagery from Flaticon.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published