Author Topic: Brainfuck Programs  (Read 16694 times)

0 Members and 1 Guest are viewing this topic.

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: Brainfuck Programs
« Reply #30 on: August 23, 2010, 10:38:17 am »
Yea. It sets up cell 1 as 90 for the ten's place and cell 2 as 9 for the one's place, then does a few functions that subtract ten's places if theres no one's place, and sets the one's place back as 9. Then it starts putting out the text and the values of cell 1 and 2 and singing '99 bottles of beer on the wall, 99 bottles of beer take one down pass it around 98 bottles of beer on the wall' etc. You can slow it down and go step by step by putting a comma after the last decimal and before the '[-]' on the very last line. and just hit enter to keep going. I did run the program to see the text, but up till that part I kind of figured out how the program worked. Im not exactly sure about it all though.
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Brainfuck Programs
« Reply #31 on: August 23, 2010, 10:50:38 am »
Good job :D
Also, offtopic, you have int(100*pi) posts :P
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Brainfuck Programs
« Reply #32 on: August 23, 2010, 10:09:26 pm »
* DJ Omnimaga wonders if calc84maniac could write Starcraft in BF