https://github.com/raulpe7eira/fizz_buzz
Section 2 of Elixir e Phoenix do Zero Course by Rafael Camarda
https://github.com/raulpe7eira/fizz_buzz
course elixir learn udemy
Last synced: about 1 month ago
JSON representation
Section 2 of Elixir e Phoenix do Zero Course by Rafael Camarda
- Host: GitHub
- URL: https://github.com/raulpe7eira/fizz_buzz
- Owner: raulpe7eira
- Created: 2024-01-03T02:43:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-18T23:26:48.000Z (about 1 year ago)
- Last Synced: 2025-02-12T07:23:58.423Z (3 months ago)
- Topics: course, elixir, learn, udemy
- Language: Elixir
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FizzBuzz
This code corresponds to the [Section 2 of Elixir e Phoenix do Zero Course](https://www.udemy.com/course/elixir-e-phoenix-do-zero) lab by [Rafael Camarda](https://cursos.rafaelcamarda.com/).
> The project simulates the processing of a txt files, and replaces all numbers that are multiples of 3 with `:fizz`, multiples of 5 with `:buzz`, and multiples of 3 and 5 with `:fizzbuzz`.
## Compilation, tests and runs
```bash
$ cd fizz_buzz
$ asdf install
$ mix compile
$ mix test
$ iex -S mix
```## How to use?
```elixir
# build numbers with :fizz, :buzz, and/or :fizzbuzz
iex> FizzBuzz.build("numbers.txt")
```