Skip to content

aGreenCat/BrainFudge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrainFudge

by Tedd Lee and Eduardo Lozano

BrainFudge is a visualizer for running Brainfuck (BF) code. Given valid BF code, our program can run the code while simulating how operations are carried out. The program is customizeable: the user may run their code at different speeds and enter their own inputs.

Directions

If you don't already have it, you will need Processing to run BrainFudge.

You will also need to install p5.js mode. Open Processing and click on the dropdown that says "Java" on the top right corner of the window. Select "Manage Modes" and install p5.js from the contribution manager window that pops up.

To run BrainFudge:

  1. Clone this repository.
  2. Open Processing and go to File>Open... and locate BrainFudge.js within the BrainFudge folder in this repository (you may open while in any mode, Processing will automatically switch to the correct mode).
  3. Press the Run button and BrainFudge should pop up in your default web browser.

To use BrainFudge:

  • Enter BF code in the top input.
  • Press on the play button at the bottom.
  • To the left of the play button is the reset button, and to the right is the step button.
  • You can change the speed using the dropdown on the bottom right.
  • If needed, you may enter your input in the left textbox.

Note: In some cases, the BF code may run forever. In other cases, a desired output may take a very long time, even at the highest speed.

Links

About

A web-app to simulate and visualize Brainf*ck

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •