Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Sandbox

Post History

#4: Post edited by user avatar General Sebast1an‭ · 2021-10-09T03:58:31Z (about 3 years ago)
  • 99 FizzBuzzes of Beer On Golf
  • 99 FizzBuzzes of Beer On Golf [cancelled]
#3: Post edited by user avatar General Sebast1an‭ · 2021-09-26T04:48:35Z (about 3 years ago)
  • # Background
  • Randomly encountered [this challenge on CGCC](https://codegolf.stackexchange.com/questions/120282/99-bottles-of-fizz). Looks like a nice challenge, and since the 2 originating [chall](https://codegolf.codidact.com/posts/283141)[enges](https://codegolf.codidact.com/posts/279365) are already here, why not add this to the fun?
  • # Challenge
  • Recreate the "99 Bottles of Beer" song, however, "beer" is twisted by the FizzBuzz sequence, where if the value is divisible by 3, output "fizz", and if 5, then "buzz", and if both, output "fizzbuzz". Otherwise, print "beer":
  • ```lang-none
  • 99 bottles of fizz on the wall, 99 bottles of fizz.
  • Take one down and pass it around, 98 bottles of beer on the wall.
  • 98 bottles of beer on the wall, 98 bottles of beer.
  • Take one down and pass it around, 97 bottles of beer on the wall.
  • 97 bottles of beer on the wall, 97 bottles of beer.
  • Take one down and pass it around, 96 bottles of fizz on the wall.
  • 96 bottles of fizz on the wall, 96 bottles of fizz.
  • Take one down and pass it around, 95 bottles of beer on the wall.
  • 95 bottles of buzz on the wall, 95 bottles of buzz.
  • Take one down and pass it around, 94 bottles of buzz on the wall.
  • ....
  • 3 bottles of fizz on the wall, 3 bottles of fizz.
  • Take one down and pass it around, 2 bottles of beer on the wall.
  • 2 bottles of beer on the wall, 2 bottles of beer.
  • Take one down and pass it around, 1 bottle of beer on the wall.
  • 1 bottle of beer on the wall, 1 bottle of beer.
  • Go to the store and buy some more, 99 bottles of beer on the wall.
  • ```
  • Since this is a <a class="badge is-tag">code-golf</a> challenge, the shortest program wins!
  • # Background
  • Randomly encountered [this challenge on CGCC](https://codegolf.stackexchange.com/questions/120282/99-bottles-of-fizz). Looks like a nice challenge, and since the 2 originating [chall](https://codegolf.codidact.com/posts/283141)[enges](https://codegolf.codidact.com/posts/279365) are already here, why not add this to the fun?
  • # Challenge
  • Recreate the "99 Bottles of Beer" song, however, "beer" is twisted by the FizzBuzz sequence, where if the value is divisible by 3, output "fizz", and if 5, then "buzz", and if both, output "fizzbuzz". Otherwise, print "beer":
  • ```lang-none
  • 99 bottles of fizz on the wall, 99 bottles of fizz.
  • Take one down and pass it around, 98 bottles of beer on the wall.
  • 98 bottles of beer on the wall, 98 bottles of beer.
  • Take one down and pass it around, 97 bottles of beer on the wall.
  • 97 bottles of beer on the wall, 97 bottles of beer.
  • Take one down and pass it around, 96 bottles of fizz on the wall.
  • 96 bottles of fizz on the wall, 96 bottles of fizz.
  • Take one down and pass it around, 95 bottles of beer on the wall.
  • 95 bottles of buzz on the wall, 95 bottles of buzz.
  • Take one down and pass it around, 94 bottles of buzz on the wall.
  • ....
  • 3 bottles of fizz on the wall, 3 bottles of fizz.
  • Take one down and pass it around, 2 bottles of beer on the wall.
  • 2 bottles of beer on the wall, 2 bottles of beer.
  • Take one down and pass it around, 1 bottle of beer on the wall.
  • 1 bottle of beer on the wall, 1 bottle of beer.
  • Go to the store and buy some more, 99 bottles of beer on the wall.
  • ```
  • # Rules
  • - 0-byte answers aren't allowed. Although 1-byte answers are allowed while still abiding to not using [loopholes](https://codegolf.codidact.com/posts/282788), they won't be very interesting (unless you DO make it interesting).
  • - Use any form of output in the program. Yes, the whole thing must be outputted up until you reach $n=1$.
  • - Built-in functions and/or code for this specific challenge is pretty much allowed, only if you explain (even a little) how the code works (or not if you can't at all).
  • - Since this is a <a class="badge is-tag">code-golf</a> challenge, the shortest program wins!
#2: Post edited by user avatar General Sebast1an‭ · 2021-09-25T05:52:47Z (about 3 years ago)
  • # Background
  • Randomly encountered [this challenge on CGCC](https://codegolf.stackexchange.com/questions/120282/99-bottles-of-fizz). Looks like a nice challenge, and since the 2 originating challenges are already here, why not add this to the fun?
  • # Challenge
  • Recreate the "99 Bottles of Beer" song, however, "beer" is twisted by the FizzBuzz sequence, where if the value is divisible by 3, output "fizz", and if 5, then "buzz", and if both, output "fizzbuzz". Otherwise, print "beer":
  • ```lang-none
  • 99 bottles of fizz on the wall, 99 bottles of fizz.
  • Take one down and pass it around, 98 bottles of beer on the wall.
  • 98 bottles of beer on the wall, 98 bottles of beer.
  • Take one down and pass it around, 97 bottles of beer on the wall.
  • 97 bottles of beer on the wall, 97 bottles of beer.
  • Take one down and pass it around, 96 bottles of fizz on the wall.
  • 96 bottles of fizz on the wall, 96 bottles of fizz.
  • Take one down and pass it around, 95 bottles of beer on the wall.
  • 95 bottles of buzz on the wall, 95 bottles of buzz.
  • Take one down and pass it around, 94 bottles of buzz on the wall.
  • ....
  • 3 bottles of fizz on the wall, 3 bottles of fizz.
  • Take one down and pass it around, 2 bottles of beer on the wall.
  • 2 bottles of beer on the wall, 2 bottles of beer.
  • Take one down and pass it around, 1 bottle of beer on the wall.
  • 1 bottle of beer on the wall, 1 bottle of beer.
  • Go to the store and buy some more, 99 bottles of beer on the wall.
  • ```
  • Since this is a <a class="badge is-tag">code-golf</a> challenge, the shortest program wins!
  • # Background
  • Randomly encountered [this challenge on CGCC](https://codegolf.stackexchange.com/questions/120282/99-bottles-of-fizz). Looks like a nice challenge, and since the 2 originating [chall](https://codegolf.codidact.com/posts/283141)[enges](https://codegolf.codidact.com/posts/279365) are already here, why not add this to the fun?
  • # Challenge
  • Recreate the "99 Bottles of Beer" song, however, "beer" is twisted by the FizzBuzz sequence, where if the value is divisible by 3, output "fizz", and if 5, then "buzz", and if both, output "fizzbuzz". Otherwise, print "beer":
  • ```lang-none
  • 99 bottles of fizz on the wall, 99 bottles of fizz.
  • Take one down and pass it around, 98 bottles of beer on the wall.
  • 98 bottles of beer on the wall, 98 bottles of beer.
  • Take one down and pass it around, 97 bottles of beer on the wall.
  • 97 bottles of beer on the wall, 97 bottles of beer.
  • Take one down and pass it around, 96 bottles of fizz on the wall.
  • 96 bottles of fizz on the wall, 96 bottles of fizz.
  • Take one down and pass it around, 95 bottles of beer on the wall.
  • 95 bottles of buzz on the wall, 95 bottles of buzz.
  • Take one down and pass it around, 94 bottles of buzz on the wall.
  • ....
  • 3 bottles of fizz on the wall, 3 bottles of fizz.
  • Take one down and pass it around, 2 bottles of beer on the wall.
  • 2 bottles of beer on the wall, 2 bottles of beer.
  • Take one down and pass it around, 1 bottle of beer on the wall.
  • 1 bottle of beer on the wall, 1 bottle of beer.
  • Go to the store and buy some more, 99 bottles of beer on the wall.
  • ```
  • Since this is a <a class="badge is-tag">code-golf</a> challenge, the shortest program wins!
#1: Initial revision by user avatar General Sebast1an‭ · 2021-09-25T05:48:14Z (about 3 years ago)
99 FizzBuzzes of Beer On Golf
# Background

Randomly encountered [this challenge on CGCC](https://codegolf.stackexchange.com/questions/120282/99-bottles-of-fizz). Looks like a nice challenge, and since the 2 originating challenges are already here, why not add this to the fun?

# Challenge

Recreate the "99 Bottles of Beer" song, however, "beer" is twisted by the FizzBuzz sequence, where if the value is divisible by 3, output "fizz", and if 5, then "buzz", and if both, output "fizzbuzz". Otherwise, print "beer":

```lang-none
99 bottles of fizz on the wall, 99 bottles of fizz.
Take one down and pass it around, 98 bottles of beer on the wall.

98 bottles of beer on the wall, 98 bottles of beer.
Take one down and pass it around, 97 bottles of beer on the wall.

97 bottles of beer on the wall, 97 bottles of beer.
Take one down and pass it around, 96 bottles of fizz on the wall.

96 bottles of fizz on the wall, 96 bottles of fizz.
Take one down and pass it around, 95 bottles of beer on the wall.

95 bottles of buzz on the wall, 95 bottles of buzz.
Take one down and pass it around, 94 bottles of buzz on the wall.

....

3 bottles of fizz on the wall, 3 bottles of fizz.
Take one down and pass it around, 2 bottles of beer on the wall.

2 bottles of beer on the wall, 2 bottles of beer.
Take one down and pass it around, 1 bottle of beer on the wall.

1 bottle of beer on the wall, 1 bottle of beer.
Go to the store and buy some more, 99 bottles of beer on the wall.
```

Since this is a <a class="badge is-tag">code-golf</a> challenge, the shortest program wins!