This is a small, simple and experimental simulator for the lovely language called Brianfuck
, written in python. While bfsim.py
handles the parsing as well as the simulation, inp_handler.py
watches STDIN for user input.
I've attached an example called ttt.bf
, short for Tic Tac Toe. The code stems from mitxela, I'm just simulating it here. To play, run it like this:
python bfsim.py ttt.bf
Python's version needs to be >=3.0
.