Fizz buzz is a group word game for children to teach them about division.[1] Players take turns to count incrementally, replacing any number divisible by three with the word "fizz", and any number divisible by five with the word "buzz" and the word "fizzbuzz" if the number is divisible by 15.
How to play. Require file on pry "require '.lib/fizzbuzz.rb'" and call method number_to_play(number)
First contact with TDD using RSpec.
- Ruby
- RSpec
> clone https://github.com/byverdu/fizzbuzz.git
> cd fizzbuzz
> irb
> require '.lib/fizzbuzz.rb'
> number_to_play(number) # method that calls the game