8000 GitHub - madhav165/cricscores: Get cricket scores in your terminal
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

madhav165/cricscores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This program displays the teams playing cricket and their respective scores in the terminal. The data is obtained from www.espncricinfo.com. Additionl information is stored in the MatchObject objects which can be accessed if needed, with slight changes to the code.

This works best with a maximized terminal.

Compilation

On UNIX:

Compile with:

javac -cp .:jsoup-1.9.2.jar CricketScores.java MatchObject.java

Run with:

java -cp .:$PATH_TO_FOLDER/jsoup-1.9.2.jar:$PATH_TO_FOLDER CricketScores

On Windows:

Compile with :

javac -cp .;jsoup-1.9.2.jar CricketScores.java MatchObject.java

Run with:

java -cp .;$PATH_TO_FOLDER/jsoup-1.9.2.jar;$PATH_TO_FOLDER CricketScores

Running

Linux users may be able to add a shortcut to the run command as follows:

vim ~/.bash_aliases
alias cricscores="java -cp.:$PATH_TO_FOLDER/jsoup-1.9.2.jar:$PATH_TO_FOLDER CricketScores
source ~/.bash_aliases

Run with:

cricscores

About

Get cricket scores in your terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0