Skip to content

Calculator for freestyle footbag overall scores written in bash.

License

Notifications You must be signed in to change notification settings

lavix5/footbag_overall_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Freestyle footbag overall calculator

This is freestyle footbag overall calculator written in bash.

Conditions :

  • Each freestyle event is weighted the same.
  • The more points, the higher place.
  • Points are added for classification as follows:
    • 1st: 25 points
    • 2nd 18 points
    • 3rd: 15 points
    • 4th: 12 points
    • 5th: 10 points
    • 6th: 8 points
    • 7th: 6 points
    • 8th: 4 points
    • 9th: 2 points
    • 10th: 1 point

Usage :

Make files executable:

$ sudo chmod +x overall_calculator.sh results_sort.sh

Invoke overall_calculator.sh with player name and his classifications, for example:

$ ./overall_caltulator.sh Player1 3 2 5 7

After invoking overall_calculator.sh for every player, sort the scores to get the results in file results.txt

$ ./results_sort.sh

About

Calculator for freestyle footbag overall scores written in bash.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages