FoonLudum Dare ExplorerLD36 → Brainfuck: The Game

Brainfuck: The Game

By potatoing_

View on Wayback Machine

CategoryRankScoreCount

Comments

teekeks 2016-08-29 01:08

But why brainfuck D: Hard stuff!

potatoing_ 2016-08-29 01:12

@Teekeks Sorry for that:(. But i promise you, that it takes under 5 minutes to learn and it's really fun once you get into it!:3

crazyrems 2016-08-29 01:47

I never used brainfuck. I can't tell that anymore :).

matex-7seven 2016-08-29 02:06

Hahah finally got a chance to test out this so popular brainfuck XD nice work

burntfeelings 2016-08-29 02:29

Hahaha what is this ? :D

graysullivan 2016-08-29 02:39

Hard as hell but clever and cool!

kevkevonfire 2016-08-29 02:44

I would've really liked this, first few levels were pretty neat with some clever ways to cheese them available. Unfortunately bugs left it unplayable for me a few levels in :(

dwhiffing 2016-08-29 03:15

Pretty awesome idea! Too hard for me right now, but I'll definitely try again later :) Nice work

flatgub 2016-08-29 03:49

Wow O_O
This is by far one of the most unique programming games I've ever played. And on top of that, I've now learned brainfuck which is cool! I doubt I'll ever finish this game because I'm struggling with even level 2 ><

runedrake 2016-08-29 04:01

That's really cool! I managed to complete a few levels. Brainfuck and Comic Sans are not a good combination!

potatoing_ 2016-08-29 04:54

@crazyrems I hope you enojyed it! You can now put brainfuck on your resumee:).

potatoing_ 2016-08-29 04:55

@MaTeX-7seven Glad I could have been the one, that made you try:). Thank you for the positive comment!

potatoing_ 2016-08-29 04:56

@BurntFeelings brainfuck is an actual programming language. And it's really funto program in! I suggest you to look into it:)

potatoing_ 2016-08-29 04:57

@Gray Sullivan ( @graysullivan ). Thank you very much for the positive comment! I tried to make the difficulty scailing, but there's only so much you can program in Brainfuck:D

potatoing_ 2016-08-29 04:58

Tahnk you:3. That's kinda sad to hear:(. What kind of bugs? If you report them here, I can try and fix them:))

potatoing_ 2016-08-29 04:58

@KevKevOnFire Tahnk you:3. That's kinda sad to hear:(. What kind of bugs? If you report them here, I can try and fix them:))

Oops, forgot to mention name:0

potatoing_ 2016-08-29 04:59

@dwhiffing after two full days of coding, there's nothing better to do than to code:D. Thank you very much, I hope you'll have a blast playing, once you do!:3

potatoing_ 2016-08-29 05:00

@Flatgub Level 2 is a bit long:0. But after finnishing it, you can put brainfuck on your resumee!:).

Also, thank you very much! It's so awesome to hear this! x3

potatoing_ 2016-08-29 05:01

@Azlen I made brainfuck, even more brainfucky ;). Thank you for the positive comment! :33

kazenoz 2016-08-29 05:29

Ah, I've always heard tales of Brainfuck, but never actually got into it.
It's basically a turing machine lol

Anyway, lots of bugs, but thank you for exposing us to this hell of a language haha

potatoing_ 2016-08-29 05:41

@Paximillian sadly there are a few bugs. If you could mention any, that bugged you the most?:0

Also, thanks for the review:) Brainfuk is really fun and it's amazing to see what people can create with it, even if it's just a turning machine:D.

danilafe 2016-08-29 05:42

Am I really seeing comic sans? Woah there, man.
Love the hint on the first level.
Couldn't be bothered to learn brainfuck to play, but the concept is definitely very nice.

potatoing_ 2016-08-29 05:49

@danilafe sorry for that:D. I can see, why you wouldn't want to learn brainfuck:). Thank you :)

bogden 2016-08-29 06:01

Thanks for this first intro into brainfuck. Neat progression of levels, and good that they gradually incorporate previous solutions.

potatoing_ 2016-08-29 06:05

@Bogden Intro was mostly just copied from a website, but you're welcome:). I tried to make the difficulty scale up:0. Hope you understood brainfuck and ejnoyed the game! Thank you, for the review:3

eevee 2016-08-29 06:22

FINALLY, someone has gamified Brainfuck. Bless you.

Putting "Hello world" as level 1 seems kind of intense, especially when level 2 is merely clearing a cell. :)

This is a perfect game jam concept: you can't really go much further with it without just becoming "write software in Brainfuck", which nobody really wants to do. But what's there is enough to be entertaining for a few minutes.

potatoing_ 2016-08-29 06:32

@eevee thank you very much for the kind comment!

I was justifying putting Hello World program first, as, that it doesn't require thinking - unlike clearing a cell:).

There are still some features I wanted to add - perhaps make it seem, like you're typing into a console - to make it look even more game like and less like a "write braifuck software" app. I'm glad this did the effect for you and that you seem to have enjoyed it!:)

ghen 2016-08-29 07:28

i heard brainfuck programming a while ago, never really look it up, but holy mother of god....its no make sense lol xD
i'm really glad that you made a game out of it, at least now i can say "i already try brainfuck" lol

peterthehe 2016-08-29 08:04

A very clear tutorial - infinitely better than many of those online. Very much well done. If there were a ratings system, this would be pretty high up for me.

cptbubbles 2016-08-29 08:28

This is pretty fun and a nice way to learn a useless language! :)
I noticed a bug on Linux though: If a cell is over 2 digits long, it isn't fully displayed (just one digit plus "...") which can be a problem.

Other than that, great job!

tomisoka 2016-08-29 09:58

Nice game!
I found a bug on Linux. Any text that doesn't fit in the window is displayed as "Use Brainfuck to sol...", which makes it unusable since it can't be resized (window can be resized, but it's not updated to new window size).

potatoing_ 2016-08-29 11:10

@Ghen It looks complicated but only has 8 thingies, it's super easy to learn!:)

potatoing_ 2016-08-29 11:11

@peterthehe tank you very much, these kinds of comment are awesome to hear! Glad you enjoyed it:3

potatoing_ 2016-08-29 11:12

@CptBubbles It's fun to see, what you can program in Brainfuck, once you learn the kanguage:).

I didn't test on Linux, sorry:(. It's a simple one line fix, so I'll submit it soon:)

potatoing_ 2016-08-29 11:26

@tomisoka thank you for the kind comment and for letting me know of a new bug! I uploaded a temporary fix, that let's you resize the window:). (I'll admit, I haven't done much testing on linux/mac:0, sorry!)

joff 2016-08-29 11:37

There is a special place in hell reserved just for Brainfuck and this game...

I would say it was fun to play but that would be a lie, It is a good game and a good take on the theme.

potatoing_ 2016-08-29 11:46

@Joff For whatever reason, I feel like brainfuck is pretty fun:D. I was not actually sure, if it entirely fits into the theme:0 Thank you for the comment!:)

predominant 2016-08-29 12:08

Brainfuck, now this takes be back... Nice :)

onyon 2016-08-29 12:17

Best programming tutorial in the world. 11101/10

snake5 2016-08-29 12:25

This is the first time ever I've tried to use Brainfuck for anything. While I can't say the language has warmed up to me (but then again, who could?), it was interesting to try and think from a different perspective.

Level 1 was an odd one though, seemed more like an exercise in typing or Wikipedia copy-pasting than actual thinking.

lcmw_spud 2016-08-29 12:27

Art

potatoing_ 2016-08-29 12:58

@Graham Weldon ( @GrahamWeldom ) Glad to be the one, who reminded of the ol days:)

potatoing_ 2016-08-29 12:59

@onyon providing only the highest quality content :P Thanks for the comment:)

potatoing_ 2016-08-29 13:00

@LCMW_Spud for maximum enjoyment, play blues music in background, while playing the game.

potatoing_ 2016-08-29 13:01

@snake5 It's nice to see, what you can do in Brainfuck, test your skills :).

Sadly, I need to agree, level 1 was a bit useless. It was more filling the hole, than being a level and teaching you anything.

Thank you for the review!:3

aroscillo 2016-08-29 20:54

Nice Work!

tmat-productions 2016-08-30 00:54

Man woah! Cool AF.

tomisoka 2016-08-30 08:40

@Potatoing_
Well, it doesn't seem to fix the issue.
Here is a screenshot of the game (left side is old version, right side is new version): https://www.dropbox.com/s/dbd8cbmrnfx7gyj/Screenshot-16_08_30-10_28_37.jpg?dl=0

It might be also a problem because I am using i3 but I don't think it can cause such a problem.


Also another bug occurs when using "step" - only first cell is set to non-zero value even though in "run" there are more cells set to non-zero value.

potatoing_ 2016-08-30 09:49

@tomisoka That is not a problem, the problem is me baing a bat programmer, don't worry:). I'm really sorry, that it didn;'t work and it should now! Thank you very much, for helping me port it. I uploaded a version, that should fix the problem. Thank you very much!

potatoing_ 2016-08-30 09:50

@AWOL Thank you :)!

potatoing_ 2016-08-30 09:51

@TMAT Productions ( @TMATProductions ) Thank you very much!:3 Hope you had fun playing!:)

chrisdugne 2016-08-30 20:26

Discovering brainfuck thanks to you : ) madness !

potatoing_ 2016-08-30 21:29

@chrisdugne Thank you:) I hope you had fun with brainfuck!:)

tomisoka 2016-08-31 06:31

@Potatoing_
I have no idea what exactly you are doing but it doesn't help. Anyway I downloaded source code and "fixed" it by:
lblWork.setBounds(10, 11, 810, 14);
instead of:
lblWork.setBounds(10, 11, 410, 14);

What makes me wonder is why it works on Windows since it should suffer the same problem - text is longer than bounds.
So maybe the linux version uses different font? I am quite sure that "Comic Sans MS" is not standard linux font.

potatoing_ 2016-08-31 11:15

@tomisoka I actually did the same thing:0 sorry, that you had to fix it this way:(. Well, I'm not a programmer, but I think, that it's because of java. Basically, java looks different on all Operating Systems. On Windows it looks one way, on Linux it looks different way. Sorry, that you had to fix it this way:(.

tmpxyz 2016-09-01 05:43

After 72 hours coding, I would skip a low-level programming language.

Just kidding, this's a nice programming game.

leondryaso 2016-09-04 13:46

Really great idea! Finally got to use Brainfuck this way :D Only if I accidentally got into while(true), I couldn't stop it anyhow. Also, "aNcient", right? ^_^

btw, the LD map says you're Czech as well, is it correct?

potatoing_ 2016-09-04 14:31

@tmpxyz :D hope you enjoyed it:3

potatoing_ 2016-09-04 14:34

@leondryaso The while true loop is a bit of a problem;(. I'm trying to make it so, the program recognizes a while true loop and doesn't allow for the program to start or something like that. :P

I am! I'm living near the capital!:)

leondryaso 2016-09-05 16:48

@PotatoIng_ looking into your code, I suggest major cleanup (everything copy-pasted isn't really a great solution). A hot-patch here may be a simple counter variable that would be increased every loop and it would stop when it reaches a certain high value. For final implementation, I would probably run the whole interpreter in another thread that could be interrupted manually.

Dobré tady vidět nějakou blízkou duši :D

potatoing_ 2016-09-17 06:26

@leondryaso Sadly I need to agree. The plan was to make a level class and just pass it parameters, but then it turned out into this mess. Good idea! Thanks!:)

To vskutku je:D

themonsterfromthedeep 2016-09-17 20:17

I liked this game. I haven't actually done any BF stuff before, so this was a nice little experience. ;)

I think that the Hello World program is in the wrong spot - the two methods for Hello World are either brute force all the characters using long strings of +'s, or - if you know BF well enough, you can use more advanced multiplication and things to make it smaller. I don't think anybody new to the language will be able to do that by level 2, so it's kind of just a bad placement for that level.

I couldn't get past the 6th and 7th levels. :(

I think the main thing that could improve a game like this is story - basically each challenge is part of some new thing that the company needs to do.

I think a more unique UI would also do it good - basically some kind of really cool looking IDE thing (my personal opinion is that it would be good in pixel art).

But it's certainly a good idea, especially for this theme. :)