A console program to validate and render bowling score card
1 Install the ruby framework
2 Run ruby-bowling
in the bin
folder or main.rb
in the src
folder
Example:
cd bin
./ruby-bowling
This will read the game.txt
file in the bin
folder
If you want to exec the test and documentation please install bundle
- Read custom input file (see example files here)
./ruby-bowling --input-file my\ custom\ game.txt
- Build source docs (You can see it here)
cd bin
./document_me.sh
- Test the source (You can see the results here)
cd bin
./test_me.sh
- Any other extra option (like generate data or output to file) see the help
./ruby-bowling --help
all given routes are relative tosrc
folder
MPL v2.0