- This command-line project read the score of a ten-pin bowling game from a file an output the final chart of the game.
- pass as parameter the relative path to the file with the scores
- A file with scores of a bowling game is inside the data folder, you can use it to test the project.
- In the main.rb (inside the bin folder), we pass the path to this file.
- It includes unit and integrations tests to make sure the information provided in the file is valid and the output is the excepted one.
- Ruby.
- Rspec.
- Clone the project with: https://github.com/andresporras3423/bowling_game.git
- Install the necessary gems: bundle install
- Run the next command to start the program: ruby bin/main.rb
- Try the next path (or any other you have with valid data): ../data/scores.txt
- To run the tests: rspec
Oscar Russi
- Github: @andresporras3423
- Linkedin: Oscar Russi
- Twitter: @OscarRussi1
Give a ⭐️ if you like this project!