andresporras3423 / bowling_game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bowling_game

  • 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.

Built With

  • Ruby.
  • Rspec.

How to use this project

  • 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

Authors

Oscar Russi

Show your support

Give a ⭐️ if you like this project!

Enjoy!

About


Languages

Language:Ruby 100.0%