Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the word base to to be bass, the musical term #133

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions exercises/25-Techno-beat/README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ Estás trabajando con un DJ y él necesita un programa que pueda crear ritmos pa

2. Por cada `0`, agrégale al string `'Boom'`.

3. Por cada `1`, agrégale al string `'Drop the base'`.
3. Por cada `1`, agrégale al string `'Drop the bass'`.

## Restricciones:

+ Si encuentras el número Uno (1) tres veces seguidas, TAMBIÉN debes AGREGAR al string `¡¡¡Break the base!!!`
+ Si encuentras el número Uno (1) tres veces seguidas, TAMBIÉN debes AGREGAR al string `¡¡¡Break the bass!!!`

## Resultado esperado de la función:

Un string que debe estar compuesto por Boom o Drop the base o `!!!Break the base!!!`
Un string que debe estar compuesto por Boom o Drop the bass o `!!!Break the bass!!!`

## 💡 Pista:

Expand All @@ -31,10 +31,10 @@ Un string que debe estar compuesto por Boom o Drop the base o `!!!Break the base
## Resultado esperado:

```js
Boom Boom Drop the base Drop the base Boom Boom Boom
Boom Boom Drop the base Drop the base Drop the base !!!Break the base!!! Boom Boom Boom
Boom Boom Drop the bass Drop the bass Boom Boom Boom
Boom Boom Drop the bass Drop the bass Drop the bass !!!Break the bass!!! Boom Boom Boom
Boom Boom Boom
Drop the base Boom Drop the base
Drop the base Drop the base Drop the base !!!Break the base!!!
Drop the bass Boom Drop the bass
Drop the bass Drop the bass Drop the bass !!!Break the bass!!!
```

14 changes: 7 additions & 7 deletions exercises/25-Techno-beat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ You are working with a DJ and he needs a program that can create a beats for his
```
2. For each Zero you will add to the string 'Boom'

3. For each One you will add to the string 'Drop the base'
3. For each One you will add to the string 'Drop the bass'

### Constraints:

+ If you find the number One (1) three times in a row, you should ALSO ADD to the string `!!!Break the base!!!`
+ If you find the number One (1) three times in a row, you should ALSO ADD to the string `!!!Break the bass!!!`

### Expected Function Output:

A string which should be comprise of Boom or Drop the base or `!!!Break the base!!!`
A string which should be comprise of Boom or Drop the bass or `!!!Break the bass!!!`

### Expected Output:

```js
Boom Boom Drop the base Drop the base Boom Boom Boom
Boom Boom Drop the base Drop the base Drop the base !!!Break the base!!! Boom Boom Boom
Boom Boom Drop the bass Drop the bass Boom Boom Boom
Boom Boom Drop the bass Drop the bass Drop the bass !!!Break the bass!!! Boom Boom Boom
Boom Boom Boom
Drop the base Boom Drop the base
Drop the base Drop the base Drop the base !!!Break the base!!!
Drop the bass Boom Drop the bass
Drop the bass Drop the bass Drop the bass !!!Break the bass!!!
```

## 💡 Hint:
Expand Down
10 changes: 5 additions & 5 deletions exercises/25-Techno-beat/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ test('The functions returns the correct value when passing different parameters'
let _test5 = lyricsGenerator([1,1,1]).trim()
let _test6 = lyricsGenerator([1,1,1,0,1,0,1]).trim()

expect(_test1).toBe("Boom Boom Drop the base Drop the base Boom Boom Boom");
expect(_test2).toBe("Boom Boom Drop the base Drop the base Drop the base !!!Break the base!!! Boom Boom Boom");
expect(_test1).toBe("Boom Boom Drop the bass Drop the bass Boom Boom Boom");
expect(_test2).toBe("Boom Boom Drop the bass Drop the bass Drop the bass !!!Break the bass!!! Boom Boom Boom");
expect(_test3).toBe("Boom Boom Boom");
expect(_test4).toBe("Drop the base Boom Drop the base");
expect(_test5).toBe("Drop the base Drop the base Drop the base !!!Break the base!!!");
expect(_test6).toBe("Drop the base Drop the base Drop the base !!!Break the base!!! Boom Drop the base Boom Drop the base");
expect(_test4).toBe("Drop the bass Boom Drop the bass");
expect(_test5).toBe("Drop the bass Drop the bass Drop the bass !!!Break the bass!!!");
expect(_test6).toBe("Drop the bass Drop the bass Drop the bass !!!Break the bass!!! Boom Drop the bass Boom Drop the bass");
});

test('The functions should be returning a string', function () {
Expand Down
Loading